JSON Pointer (RFC 6901) denotes an expression which identifies a specific part of a JSON document, i.e. it specifies the path from the root of the document to that part of interest.
JSON Document
{
"foo" : ["bar", "baz"],
"pi" : 3.1416
}
JSON Pointer expressions
"/foo" → [ "bar", "baz" ]
"/foo/0" → "bar"
"/foo/1" → "baz"
"/pi" → 3.1416
The JsonDiff RFC 6902 patch document identifies the differing parts of two documents using this notation.
Operations
There are two polymorphic operations that both retrieve a part of JSON document by evaluating the pointer. One operation expects the JSON document as String argument, the other expects a CacheId for the document, previously obtained from the Json Document Cache.
Related Content
Related Pages:
-
JsonDiff
Calculate JSON patch from two JSONdocuments, or apply a patch to a document. -
JsonMatch
Testing JSON strings or object instances for matching against a DSL (Domain Specific Language) similar toWHEREclauses in SQL. -
JsonNode
Parse and manipulate arbitrary JSON strings, without the need to create a class representation for it. -
https://scheer-pas-doc.atlassian.net/wiki/x/vYCRJQ
Find and extract parts of JSON object based on JsonPath queries. -
Json Schema
Convert a JSON schema file to an XSD, ready to be imported into the PAS Builder. -
https://scheer-pas-doc.atlassian.net/wiki/x/koGRJQ
Generate SQL statements from JSON objects.
Related Documentation: