JsonPathMatch / String Layer

Extract data from JSON strings using JSONPath expressions. Similar to XPath for XML, but designed for JSON structures. Creates a list column containing all matching values.

Supports JSONPath syntax elements:

  • $ : Root object reference
  • @ : Current object reference
  • . : Child operator (dot notation)
  • [] : Child operator (bracket notation)
  • .. : Recursive descent
    • : Wildcard for names/indices
  • [n] : Array index (0-based)
  • [start:end:step] : Array slice
  • [,] : Union of values
  • ?() : Filter expression
  • () : Script expression

Common applications:

  • Extracting nested JSON values
  • Processing API responses
  • Filtering JSON data
  • Complex data selection
  • JSON document querying
  • Hierarchical data navigation

Note: Returns null for invalid JSON or when path doesn't match.

Table
0
0
Table

Select

column

The string column containing JSON data. Example JSON structures:

  • Nested objects: '{"user":{"name":"John","age":30}}'
  • Arrays: '{"items":[{"id":1},{"id":2}]}'
  • Mixed data: '{"store":{"book":[{"title":"T1","price":10}]}}'

JsonPath

string

JSONPath expression to evaluate. Example patterns:

  • ..price : All prices in structure
  • ..book[-1:] : Last book
  • 10
  • ..* : All values in structure

Supports both dot notation (['store']['book'])

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.