IsValid JSON function
Returns true
 if json is valid, else false
.
Namespace
json
Input
json-string
Output
boolean(true
|false
)
Example
if json
 has the input json specified, then the result of the operation returns true
.
set-column validjson json:IsJsonValid(json)
When a malformed json malformed_json
 is parsed, then the result of operation is false
.
set-column validjson json:IsJsonValid(malformed_json)
Â
Created in 2020 by Google Inc.