parse_json_object
The parse_json_object function parses a string and returns a JSON object.
Syntax
parse_json_object( json )
Arguments
| Argument | Description | 
|---|---|
| json | (string) The input string to parse. | 
Returns
(LuaJsonObject). A LuaJsonObject containing the JSON data.
See Also
If you can't be sure whether the input data is a JSON object, you can use the function parse_json to parse the JSON. The parse_json function returns a LuaJsonValue, which can represent a JSON array or a JSON object.