Service JsonUtils
from json-utils import JsonUtils
| Port Name | Location | Protocol | Interfaces |
|---|---|---|---|
| ip | local | JsonUtilsInterface |
List of Available Interfaces
JsonUtilsInterface
| Operation Name | Input Type | Output Type | Faults | Description |
|---|---|---|---|---|
| getJsonString | GetJsonStringRequest | GetJsonStringResponse | JSONCreationErrorundefined | Returns the value converted into a JSON string Each child value corresponds to an attribute, the base values are saved as the default values (attribute "$" or singular value), the "" helper childs disappear (e.g. a.[i]._[j] -> a[i][j]), the rest gets converted recursively |
| getJsonValue | GetJsonValueRequest | GetJsonValueResponse | JSONCreationErrorundefined | Returns the JSON string converted into a value Each attribute corresponds to a child value, the default values (attribute "$" or singular value) are saved as the base values, nested arrays get mapped with the "" helper childs (e.g. a[i][j] -> a.[i]._[j]), the rest gets converted recursively |