JSON Utility
JSON Utility
Create New Json File

Create New Json File
Overview
Creates a new, empty JSON object for use in further JSON operations. This node is typically the starting point when building a new JSON structure from scratch. Once created, fields can be added using the various Set JSON Field nodes.
Inputs
None.
Outputs
Success – Returns true if the JSON object was successfully created.
Json Object – The newly created empty JSON object, ready for data to be added.
Convert Json To String

Convert Json To String
Overview
Converts a JSON object into a string format for storage, string manipulation or display. This node serializes the given JSON object into a text-based JSON string. Optionally, you can enable Pretty Print to format the output with indentation and line breaks for easier readability.
Inputs
JSON Object – The JSON object you want to convert into a string.
Pretty Print – If checked, the output string will be human-readable with line breaks and indentation. If unchecked, the result will be compact.
Outputs
Success – Returns true if the JSON object was successfully converted to a string. Otherwise returns false.
JSON String – The serialized string representation of the input JSON object.
String To Json Object

String To Json Object
Overview
Parses a JSON-formatted string and converts it into a usable JSON object. This node is typically used to deserialize data that was loaded from a file, received from a server, for quick debugging and testing.
Note: The input string must be a valid JSON. If the format is incorrect or malformed, the conversion will fail and return an empty or null object.
Inputs
Raw String Data – A string containing valid JSON text that you want to parse into a JSON object.
Outputs
Success – Returns true if the string was successfully parsed into a JSON object. Otherwise, returns false.
Loaded Json Object - The resulting JSON object that can be used with other JSON nodes.
Remove Json Field

Remove Json Field
Overview
Removes a specific field (key–value pair) from a given JSON object. This node returns a new JSON object identical to the input, except without the specified field. This is useful for cleaning structures before saving, serializing, or sending.
Note: If the specified field does not exist, the original object is returned unchanged, and Success is set to false.
Inputs
JSON Object – The input JSON object from which you want to remove a field.
Field Name – The name of the field (as string) to remove from the JSON object.
Outputs
Success – Returns true if the field was found and successfully removed. Otherwise, returns false.
New Json Object - A copy of the input JSON object with the specified field removed (if found).
Has Field

Struct To Json String

Struct To Json String
Overview
Converts any given Unreal Engine Struct into a JSON-formatted string. This node serializes all the fields of the struct into a valid JSON text format, making it suitable for saving to files, sending over network, or logging.
Inputs
In Struct (Wildcard) – The input struct to serialize into a JSON string.
Outputs
Success – Returns true if the struct was successfully converted into a JSON string. Otherwise false.
Out JSON - The resulting JSON-formatted string representing the struct’s data.
Json To Struct

Json To Struct
Overview
Converts a JSON object into a corresponding Unreal Engine Struct. The target struct must have its field names match the keys in the JSON object exactly for the conversion to succeed. Each JSON object field name must be identical to struct field names. Otherwise the conversion will fail.
Inputs
JSON Object – The input JSON object that you want to convert into a struct.
Outputs
Success – Returns true if the JSON was successfully parsed into the target struct. Otherwise, returns false.
Out Struct (Wildcard) - The resulting struct populated with the data from the JSON object.
Last updated
Was this helpful?
