Product SiteDocumentation Site

3.2. JSON Items

A JSON Item is an item. A JSON Item has an identity [4] , and it can be serialized. Objects and Arrays are JSON Items [5] .
The diagram below shows the XQuery 3.0 type hierarchy, adding JSON Item and all types derived from it:


[4] The identity of an item is used only for updates, where it is used in the update primitives.
[5] In this document, the words Object and Array refer to JSON constructs. Unlike objects in most programming languages, a JSON object contains only data.