JSON Parse
Last updated
Last updated
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.
Value
User Input
A place to paste or type a JSON file's text.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Input
String
The JSON file (in String format) to parse.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
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.
IsArray
Bool
Returns true or false whether or not the parsed output is an Array.