Skip to main content
The Key Mapping With JSONPath command (Command Type: 1012) extracts specific values from an object using JSONPath queries and maps them to new keys. It is similar to Key Mapping but applies the extraction across the entire data structure using JSONPath.

Overview

The Key Mapping With JSONPath command provides functionality for:
  • Extracting values from deeply nested structures using JSONPath
  • Mapping extracted values to new top-level keys
  • Transforming complex objects into flat, normalized structures

Command Type

Command Type ID: 1012

Parameters

KeyMapping

Usage Examples

Extract and Rename Nested Fields

Flatten a Deep Hierarchy

Common Use Cases

  • Deep Extraction: Pull values out of deeply nested JSON paths
  • Flat Output: Produce flat objects from hierarchical input for sink commands
  • Schema Mapping: Map arbitrary incoming structures to a fixed output schema
  • Key Mapping - Simpler field renaming without deep path queries
  • Json Path - Extract arrays or multiple values via JSONPath
  • Object Mapper - Full object transformation