issues
search
opengeospatial
/
architecture-dwg
2
stars
3
forks
source link
Add consideration to JSON Pointer and JSON Path
#15
Open
joanma747
opened
4 years ago
joanma747
commented
4 years ago
JSON pointer
https://tools.ietf.org/html/rfc6901
This specification defines JSON Pointer, a string syntax for identifying a specific value within a JSON document. JSON Pointer is intended to be easily expressed in JSON string values as well as URI fragment identifiers.
Example:
/foo/0
JSON path
https://goessner.net/articles/JsonPath/index.html#e2
Like XMLPath.
More expresive
Not an standard
Examples
$.foo[0] $[‘foo’][0]
$.store.book[?(@.price < 10)].title
JSON reference
https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03
The role of $ref
JSON pointer
JSON path
JSON reference