JSON GET

JSON GET

Try Get Bool Field

Try Get Bool Field

Overview

JSON functionality used to safely retrieve a Boolean value from a JSON object. This node attempts to extract the value of a specified field and interpret it as a Boolean. If the field is found and its value is a valid Boolean, the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the Boolean field.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a Boolean. Otherwise, returns false.

  • Bool Data – The Boolean value retrieved from the specified field.


Try Get Byte Field

Try Get Byte Field

Overview

JSON functionality used to safely retrieve a byte value from a JSON object. This node attempts to extract the value of a specified field and interpret it as a byte. If the field is found and its value is a valid number within the acceptable range, the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the byte field.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a byte. Otherwise, returns false.

  • Number Data – The numeric value retrieved from the specified field, interpreted as a byte.


Try Get Number Field

Try Get Number Field

Overview

JSON functionality used to safely retrieve a numeric value from a JSON object. This node attempts to extract the value of a specified field and interpret it as a number (Float). If the field is found and its value is a valid number, the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the number field.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a number. Otherwise, returns false.

  • Number Data - The numeric value retrieved from the specified field, interpreted as a float.


Try Get String Field

Try Get String Field

Overview

JSON functionality used to safely retrieve a string value from a JSON object. This node attempts to extract the value of a specified field and interpret it as a string. If the field is found and its value is a valid string, the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the string field.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a string. Otherwise, returns false.

  • String Data - The string value retrieved from the specified field.


Try Get Rotator Field

Try Get Rotator Field

Overview

JSON functionality used to safely retrieve a Rotator structure from a JSON object. This node attempts to extract the value of a specified field and interpret it as a Rotator, typically composed of Pitch, Yaw, and Roll values. If the field is found and correctly formatted, the operation succeeds.

You must ensure that the rotator structure is formatted as shown below. Otherwise, the data will not be found. As a recommendation, use the "Set JSON Rotator Field" node to guarantee the structure is correctly formatted.

Example

{ "PlayerRotation": { "Roll": 0, "Pitch": 0, "Yaw": -90 } }

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the rotator structure.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a rotator. Otherwise, returns false.

  • Rotator Data - The Rotator value retrieved from the specified field. The JSON values for Roll, Pitch, and Yaw are extracted and converted into a valid Unreal Engine Rotator variable.


Try Get Vector Field

Try Get Vector Field

Overview

JSON functionality used to safely retrieve a Vector structure from a JSON object. This node attempts to extract the value of a specified field and interpret it as a Vector, typically composed of X, Y, and Z values. If the field is found and correctly formatted, the operation succeeds.

You must ensure that the vector structure is formatted in the expected structure. Otherwise, the data will not be found. As a recommendation, use the Set JSON Vector Field node to guarantee the structure is correctly formatted.

Example

{ "PlayerLocation": { "X": 123, "Y": 321, "Z": 45 } }

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the vector structure.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a vector. Otherwise, returns false.

  • Vector Data - The Vector value retrieved from the specified field. The JSON values for X, Y, and Z are extracted and converted into a valid Unreal Engine Vector variable.


Try Get Vector2D Field

Try Get Vector2D Field

Overview

JSON functionality used to safely retrieve a 2D Vector structure (Vector2D) from a JSON object. This node attempts to extract the value of a specified field and interpret it as a Vector2D, typically composed of X and Y values. If the field is found and correctly formatted, the operation succeeds.

You must ensure that the vector structure is formatted in the expected structure. Otherwise, the data will not be found. As a recommendation, use the Set JSON Vector Field 2D node to guarantee the structure is correctly formatted.

Example

{ "PlayerLocation2D": { "X": 123, "Y": 321, } }

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the vector2D structure.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a vector2D. Otherwise, returns false.

  • Vector Data 2D - The Vector2D value retrieved from the specified field. The JSON values for X, and Y are extracted and converted into a valid Unreal Engine Vector2D variable.


Try Get Transform Field

Try Get Transform Field

Overview

JSON functionality used to safely retrieve a Transform structure from a JSON object. This node attempts to extract the value of a specified field and interpret it as a full Unreal Engine Transform, composed of a Location (Vector), Rotation (Rotator), and Scale (Vector). If the field is found and all components are properly formatted, the operation succeeds.

You must ensure that the Transform structure is formatted in the expected structure. Otherwise, the data will not be found. As a recommendation, use the Set JSON Transform Field node to guarantee the structure is correctly formatted.

Example

{ "PlayerTransform": { "X": 123, "Y": 43, "Z": 45, "Roll": 0, "Pitch": -0, "Yaw": 90, "Scale X": 1, "Scale Y": 1, "Scale Z": 1 } }

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the Transform structure.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a transform. Otherwise, returns false.

  • Transform Data - The full Transform value retrieved from the specified field, including location, rotation, and scale. and converted into a valid Unreal Engine Transform variable.


Try Get Color Field

Try Get Color Field

Overview

JSON functionality used to safely retrieve a Color structure from a JSON object. This node attempts to extract the value of a specified field and interpret it as an Unreal Engine Linear Color, composed of R, G, B, and A values. If the field is found and correctly formatted, the operation succeeds.

You must ensure that the color structure is formatted in the expected structure. Otherwise, the data will not be found. As a recommendation, use the Set JSON Color Field node to guarantee the structure is correctly formatted.

Example

{ "Torch Color": { "R": 255, "G": 0, "B": 50, "A": 255, } }

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the color structure.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a color. Otherwise, returns false.

  • Color Data - The Color value retrieved from the specified field. The R, G, B, and A components are extracted and converted into an Unreal Engine Linear color variable.


Try Get Object Field

Try Get Object Field

Overview

JSON functionality used to safely retrieve a nested JSON object from within a parent JSON structure. This node attempts to extract the value of a specified field and interpret it as a valid JSON object. If the field is found the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve a nested object field.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a JSON object. Otherwise, returns false.

  • JSON Object Field – The nested JSON object retrieved from the specified field.


Try Get Array Field

Try Get Array Field

Overview

JSON functionality used to safely retrieve an array from a JSON object. This node attempts to extract the value of a specified field and interpret it as a JSON array. If the field is found and its value is a valid array structure, the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve the array field.

  • Field Name – The name of the field (as a string) to search for within the JSON object.

Outputs

  • Success – Returns true if the field exists and its value was successfully parsed as a JSON array. Otherwise, returns false.

  • Out JSON Array – The JSON array retrieved from the specified field.


Try Get All Object Field Names

Try Get All Object Field Names

Overview

JSON functionality used to retrieve all the field (key) names from a JSON object. This node extracts a list of all keys within the given object, If the input is a valid JSON object, the operation succeeds.

Inputs

  • JSON Object – The input JSON object from which you want to extract all field names.

Outputs

  • Success – Returns true if the input was a valid JSON object and field names were successfully retrieved. Otherwise, returns false.

  • Field Names – An array of strings containing all field names (keys) present inside the provided JSON object.


Try Get All Object Field Values

Try Get All Object Field Values

Overview

JSON functionality used to retrieve all field values from a JSON object and output them as an array. This node collects the values (ignoring the keys) in the provided JSON object. If the object is valid, it will return a JSON array containing each value as a JSON array.

Note: The Array Name input allows you to label or reference the returned array when accessing the values later. You can use the Try Get Array Field node to access this data by the same name. Returns an empty array if the object is invalid or empty.

Inputs

  • JSON Object – The input JSON object from which you want to retrieve all field values.

  • Array Name – The name under which the resulting value array will be stored or accessed. Useful for referencing in further operations.

Outputs

  • Success – Returns true if the input is a valid JSON object and the values were successfully collected into an array. Otherwise, returns false.

  • JSON Value – A JSON object that contains a JSON array containing the values of all fields in the input "Json object".

Last updated

Was this helpful?