Skip to main content
Version: 2.x

Decode Json

Decodes a JSON string. If the provided string is successfully parsed into a valid JSON object, it updates the internal structure of this object. If parsing fails, the internal state is reset to clear any existing data.

Inputs​

NameTypeDescription
TargetOdin Json ObjectThe Odin Json Object to call this function on.
Json StringStringThe JSON formatted string to be decoded.

Outputs​

NameTypeDescription
Return ValueBooleantrue if the JSON string was successfully parsed and decoded, false if the decoding failed.