Add test/data/rfc-6901-json-pointer.json

This commit is contained in:
Nigel Tao committed 2020-03-02 14:46:38 +11:00
1 parent 43f0a87a6d
commit f928944d64
2 files changed
+16

No files matched your search

+4
View File
@@ -97,6 +97,10 @@ which is in the public domain.
`pjw-thumbnail.*` are various encodings of an image derived from an iconic,
original photo of Peter J. Weinberger by Rob Pike <r@golang.org>.
`rfc-6901-json-pointer.json` is the example JSON document given in the [RFC
6901 "JavaScript Object Notation (JSON)
Pointer"](https://tools.ietf.org/rfc/rfc6901.txt) specification.
`romeo.txt` is an excerpt of Shakespeare's "Romeo and Juliet", copied from
[shakespeare.mit.edu](http://shakespeare.mit.edu/romeo_juliet/romeo_juliet.2.2.html).
+12
View File
@@ -0,0 +1,12 @@
{
"foo": ["bar", "baz"],
"": 0,
"a/b": 1,
"c%d": 2,
"e^f": 3,
"g|h": 4,
"i\\j": 5,
"k\"l": 6,
" ": 7,
"m~n": 8
}