The parse_json_object function parses a string and returns a JSON object.
parse_json_object( json )
| Argument | Description | 
|---|---|
| json | (string) The input string to parse. | 
(LuaJsonObject). A LuaJsonObject containing the JSON data.
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.
|  |