/
Drop JSON function
Drop JSON function
Recursively drops elements from the provided json.
Namespace
json
Input
json-string
or json-object
Output
json-element
Example
set-column newjson \
json:Drop(json, 'numbers', 'integer', 'float', 'aliases', 'name')
The resulting json is as follows:
{
"coordinates":[12.56,45.789],
"responses":[
{"a":1,"b":"X","c":2.8},
{"a":2,"b":"Y","c":232342.8},
{"a":3,"b":"Z","c":null},
{"a":4,"b":"U"}
],
"double":2.8
}
, multiple selections available,
Related content
Write as JSON object directive
Write as JSON object directive
Read with this
Microsoft Azure Delete Action (Deprecated)
Microsoft Azure Delete Action (Deprecated)
More like this
ADLS Delete Action (Deprecated)
ADLS Delete Action (Deprecated)
More like this
Google Search Console Batch Source
Google Search Console Batch Source
More like this
Router Transformation (Deprecated)
Router Transformation (Deprecated)
More like this
Snowflake to Cloud Storage Action (Deprecated)
Snowflake to Cloud Storage Action (Deprecated)
More like this
Created in 2020 by Google Inc.