Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add escaped_key method to ondemand::field #2150

Merged
merged 1 commit into from Mar 17, 2024

Conversation

PragmaTwice
Copy link
Contributor

Close #2149.

In this PR, escaped_key() is added to ondemand::field to retrieve the unproccessed escaped key without the double quote.

Feel free to comment since I'm not sure if there's a better way to implement it.

@lemire
Copy link
Member

lemire commented Mar 17, 2024

Running tests. The code looks good to me. :-)

@lemire
Copy link
Member

lemire commented Mar 17, 2024

We are getting some failed tests but I cannot see how they would be related to this PR at the moment. They may not be.

@lemire
Copy link
Member

lemire commented Mar 17, 2024

Merging.

@lemire lemire merged commit 3a97c57 into simdjson:master Mar 17, 2024
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why we do not have a std::string_view version for the key() of field (not key_raw_json_token)?
2 participants