Skip to content

Conversation

jg-rp
Copy link
Owner

@jg-rp jg-rp commented Aug 3, 2024

This PR updates the CTS and skips some test cases.

The JSONPath spec is more strict than Python's JSON decoder when it comes to parsing \u escape sequences in string literals (including name selectors). We are adopting a policy of least surprise. The assertion is that most people will expect the JSONPath parser to behave the same as Python's JSON parser.

See jsonpath-compliance-test-suite #87.

Also see jsonpath-rfc9525, an implementation of JSONPath for Python that follows RFC 9535 strictly.

@jg-rp jg-rp merged commit eda8288 into main Aug 4, 2024
@jg-rp jg-rp deleted the skip-bad-hexchars branch August 4, 2024 06:31
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.

1 participant