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

fix: issue #2154 #2178

Merged
merged 1 commit into from May 10, 2024
Merged

fix: issue #2154 #2178

merged 1 commit into from May 10, 2024

Conversation

pnck
Copy link
Contributor

@pnck pnck commented May 8, 2024

Fixes #2154
*Note that this approach doesn't affect jsonpath (at_path()).

One will still get INVALID_JSON_POINTER if the pointer path is syntactically ill-formed, otherwise the NO_SUCH_FIELD error is raised.

@lemire
Copy link
Member

lemire commented May 8, 2024

@ateska and @yankov-pt : comments?

@yankov-pt
Copy link

This seems like a proper fix.

@ateska
Copy link

ateska commented May 9, 2024

Looks great to me.
Thanks.

@lemire
Copy link
Member

lemire commented May 10, 2024

Merging. Thanks everyone.

@lemire lemire merged commit e2f8797 into simdjson:master May 10, 2024
42 checks passed
@lemire
Copy link
Member

lemire commented May 10, 2024

Will be part of the next release.

@pnck pnck deleted the issue2154 branch May 10, 2024 06:47
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.

Better error for JSON Pointer "overshooting" the actual JSON structure.
4 participants