JSON-P 1.1
JSON-P 1.0, which was introduced in Java EE 7, shipped a powerful feature to programmatically create and read JSON structures. The version 1.1 mainly included support for common JSON standards.
One of these IETF standards is JSON Pointer (RFC 6901). It defines a syntax to query JSON structures and values. By using pointers such as "/0/user/address", JSON values are referenced, similarly to XPath in the XML world.
This feature is included in the JsonPointer type, that is created via the Json.createPointer() method, similarly to the existing JSON-P API.
Another, newly-supported standard is JSON Patch (RFC 6902). RFC 6902 defines so-called patches and modification methods that are applied to existing JSON structures.
JSON 1.1 supports ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access