toObject (Function)
Function generate JSON object from the given JSON string.
Syntax
<OBJECT> json:toObject(<STRING> json)
Query Parameters
Name | Description | Default Value | Possible Data Types | Optional | Dynamic |
---|---|---|---|---|---|
json | A valid JSON string that needs to be converted to a JSON object. | STRING | No | Yes |
Example 1
json:toJson(json)
This returns the JSON object corresponding to the given JSON string.