jsondiffpatch.net icon indicating copy to clipboard operation
jsondiffpatch.net copied to clipboard

fix: escape the key with ~ or/in its the json Pointer name

Open lingbohome opened this issue 3 years ago • 1 comments

As mentioned in the IETF RFC 6901 specification documentation, the key with ~ or/in its the JSON Pointer name needs to be escaped For example, to get "ab" from { "a/b": "ab" } you’d use the pointer "/a~1b"

lingbohome avatar Feb 01 '22 14:02 lingbohome

fixed #45

lingbohome avatar Feb 01 '22 14:02 lingbohome