Select JSON function

Returns part of JSON using JSON DSL specified as JSON path.

Namespace

json

Input

json-string or json-object

Output

json-element

Example

if body has the json specified above, then the result of the operation returns 8 as the result.

set-column len json:ArrayLength(json:Select(body, true, $.numbers))

 

Created in 2020 by Google Inc.