You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
~ not followed by 0 or 1 should be an error condition per RFC 6901 #11
It is an error condition if a JSON Pointer value does not conform to
this syntax (see Section 7).
Note that JSON Pointers are specified in characters, not as bytes.
"""
If I'm not mistaken, the spec explicitly states that ~ should only exist if followed by 0 or 1.
It also states that failing to conform to this syntax is an error condition.
Is this something that passed by you while working on the library implementation, or does enforcing this not really matter, or did I misinterpret the spec?
Activity
jdesrosiers commentedon Mar 4, 2026
Yeah, it looks like we should check for that. Go ahead and add a check for that case. Don't forget to add a test for it too.
AhmedHanyGamal commentedon Mar 4, 2026
#13
Done