isjson(JsonDocument)
The isjson function returns 1 if the document is valid JSON, 0 otherwise.
isjson
isjson('{ "type" : 1 }'): 1 isjson('{}'): 1 isjson('json this is not'): 0