JSON Parse
Overview
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-8b3c37ea7f71e0d4344dced95124af94d2ce5f3a%252Fjsonparseupdatedimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=700f2e5a&sv=1)
The JSON Parse Node allows the user to access the values of a JSON file in an Array format. JavaScript Object Notation (JSON) is a data-interchange format, commonly used by APIs. A Node, such as HTTP Get, can convert a JSON file into a String format that can be used as Input
. A Load File Node can also be used for the Input
String. Alternatively, a JSON file text can be typed into the Value
section.
Scope: Project, Scene, Function, Prefab.
Attributes
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-31ead487b1618ce066695c9ffc48c32b207e4ea8%252Fjsonparseattributes.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=bfb64bc8&sv=1)
Attribute | Type | Description |
---|---|---|
| User Input | A place to paste or type a JSON file's text. |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| String | The JSON file (in String format) to parse. |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Any | The parsed key/value pairs of the JSON file that can now be accessed as an Array. For a different Data Type, such as a Dictionary, the Conversion Node must be used first. |
| Bool | Returns true or false whether or not the parsed output is an Array. |
See Also
Last updated