JSON Path

Reference documentation for using the JSON path expression

Written By Ben Lehmann

Last updated About 2 months ago

Purpose

Return specific parts of data from a JSON object

Parameters

1 JSON Value
1 Text Value

Returns

Value at path location

Description

The expression takes the inputted JSON object in the Object field and uses the Path from the JSON Path field to return the value at the target path.

Comments

JSONPath is a query language for querying values in JSON. The uses of JSONPath include:

  • Selecting a specific node in a JSON value

  • Retrieving a set of nodes from a JSON value, based on specific criteria

  • Navigating through complex JSON values to retrieve the required data.

JSONPath queries are path expressions written as strings, e.g. $.foo.

The JSON Path field must have a valid JSON Path provided to find the right property.

Resources

Additional resources supporting use of JSON Path and JSON more generally


v3.0