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
To preserve an accurate representation of the JSON data structure, the values in the JadeJsonObject class are not stored in Jade properties, as the Jade and JSON data models are different. Instead, use the JadeJsonObject class get<xxx> methods as well as the JadeJsonObjectIterator value returned from the JadeJsonObject class createIterator method to inspect the property values and names.
All of the JSON property names are of type
| JSON Property Type | Jade Type |
|---|---|
| array | JadeAnyArray |
| boolean | Boolean |
| null | Uninitialized 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.
(None)
2022.0.04 and higher
