Serializes arbitrary data to a JSON format.
JSON_STRINGIFY(data: any, spaces?: number)
JSON_format: string
JSON_STRINGIFY([{name: "name"}, {age: "39"}], 1) Return value: "[\n {\n \"name\": \"name\"\n },\n {\n \"age\": \"39\"\n }\n]"
Parses a string as a JSON into data.
JSON_PARSE(string)
JSON_parse: string
Returns a boolean type if a JSON string is valid.
JSON_ISVALID(string)
boolean
Last updated 4 years ago
Was this helpful?
JSON_PARSE("[{\"name\":\"name\"},{\"age\":\"39\"}]") Return value: [{"name":"name"},{"age":"39"}]
JSON_ISVALID("[{\"name\": \"name\"}, {\"age\": \"39\"}]") Return value: true