JadeJsonObject Class

The JadeJsonObject stores an accurate representation of a JSON data structure within a Jade system. The class is transient‑only and each instance of the class is valid only for the node on which it was originally created. Attempting to call methods on a node other than where the JadeJsonObject was created raises exception 1443 (MemoryAddress is not valid for current Node).

It also implements the JadeIterableIF interface, meaning an iterator can be created to iterate through the JSON values or property names. In addition, you can use a foreach loop on the JadeJsonObject to iterate through property values.

All of the JSON property names are of type StringUtf8. The following table lists the JSON property types and the matching Jade types.

JSON Property Type Jade Type
array JadeAnyArray
boolean Boolean
null Unitialized Any value
object JadeJsonObject

number

Real
string StringUtf8

For details about the methods defined in the JadeJsonObject class, see "JadeJsonObject Methods", in the following subsection.

Object

(None)

2022.0.04 and higher