Skip to content

JSON Adapter

The JSON Adapter provides services for parsing and manipulating JSON data within the pipeline.

Services

system.json:Parse

Parses a JSON string and extracts values using dot-notation paths.

yaml
steps:
  - name: "ExtractID"
    type: "invoke"
    service: "system.json:Parse"
    input:
      json: "${responseBody}"
      path: "data.user.id"
    output:
      value: "userID"

Path Syntax

  • Dot-notation: data.user.name
  • Array Indexing: items[0].id
  • Deep Nesting: a.b[1].c.d

Released under the ISC License.