Skip to main content
Parses a JSON string with Real’s JSON parser and returns the decoded Lua value, marking decoded arrays and objects for the JSON helpers.

Syntax

Arguments

Returns

Types

DecodeOptions

Controls JSON parsing behavior.

Example

Decode JSON into Lua values while preserving JSON array, object, and null markers.