Skip to content

Conversation

Marcono1234
Copy link
Contributor

@Marcono1234 Marcono1234 commented Aug 1, 2024

The JSONPath specification says only the control characters 0x00 to 0x1F must be escaped (same as for JSON). The control character 0x7F (DEL) does not have to be escaped.

However, some JSON libraries are too strict and reject a non-escaped 0x7F, see also nst/JSONTestSuite#118.
Therefore this test makes sure JSONPath implementations don't make the same error.

@f3ath
Copy link
Collaborator

f3ath commented Aug 2, 2024

Thank you! Looks good. I'll approve once the conflicts are resolved.

@Marcono1234
Copy link
Contributor Author

Sorry, have resolved the conflict now.

Copy link
Collaborator

@gregsdennis gregsdennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passes for me.

@gregsdennis gregsdennis merged commit 744c90d into jsonpath-standard:main Aug 3, 2024
@Marcono1234 Marcono1234 deleted the non-escaped-del branch August 3, 2024 13:08
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.

3 participants