/
Parse JSON function
Parse JSON function
Parses a json into json-element
. If there are any issues in parsing, the function would return json-null
Namespace
json
Input
json-string
Output
json-element
Example
if json
has the input json specified, then the result of the operation would return json-element
that contains a parsed json.
set-column parsedjson json:Parse(json)
When a malformed json malformed_json
is parsed, then the result of operation is json-null
set-column malformedjson json:Parse(malformed_json)
, multiple selections available,
Related content
JSON functions
JSON functions
Read with this
Parse as JSON directive
Parse as JSON directive
Read with this
ArrayLength JSON function
ArrayLength JSON function
Read with this
Parsing and exploding JSON arrays in Wrangler
Parsing and exploding JSON arrays in Wrangler
Read with this
Write as JSON object directive
Write as JSON object directive
Read with this
Write as JSON Map directive
Write as JSON Map directive
Read with this
Created in 2020 by Google Inc.