diff --git a/CHANGELOG.md b/CHANGELOG.md index 97c4ab2..22cc84a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ **Compliance** -- Skipped tests for invalid escape sequences. The JSONPath spec is more strict than Python's JSON decoder when it comes to parsing `\u` escape sequences in string literals. We are adopting a policy of least surprise. That is, most people will expect the JSONPath parser to behave the same as Python's JSON parser. See [jsonpath-compliance-test-suite #87](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite/pull/87). +- Skipped tests for invalid escape sequences. The JSONPath spec is more strict than Python's JSON decoder when it comes to parsing `\u` escape sequences in string literals. 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](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite/pull/87). **Features** diff --git a/docs/syntax.md b/docs/syntax.md index 2dde3eb..f247f4c 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -213,6 +213,7 @@ And this is a list of areas where we deviate from [RFC 9535](https://datatracker - By default, `and` is equivalent to `&&` and `or` is equivalent to `||`. - `none` and `nil` are aliases for `null`. - `null` (and its aliases), `true` and `false` can start with an upper or lower case letter. +- We don't treat some invalid `\u` escape sequences in quoted name selectors and string literals as an error. We match the behavior of the JSON decoder in Python's standard library, which is less strict than RFC 9535. And this is a list of features that are uncommon or unique to Python JSONPath.