json_load

Converts a JSON string into a ThingsDB value.

This function does not generate a change.

Function

json_load(string)

Arguments

Argument Type Description
string str JSON string to convert.

Return value

ThingsDB value.

Example

This code shows an example for json_load:

json_load('{"success": true}');

Return value in JSON format

{
    "success": true
}