Skip to main content
The Recursive JSON With Parent command (Command Type: 1006) extracts deeply nested child elements while preserving their parent-child hierarchy. It traverses the structure up a configurable number of levels to include ancestor context.

Overview

The Recursive JSON With Parent command provides functionality for:
  • Recursively traversing nested JSON structures
  • Preserving parent context at a configurable number of levels
  • Identifying child elements by a specified property key

Command Type

Command Type ID: 1006

Parameters

Usage Examples

Extract Children with One Parent Level

Extract with Two Parent Levels

Traverse Nested Categories

Common Use Cases

  • Tree Traversal: Flatten recursive tree structures (e.g. categories, menus, org charts)
  • Hierarchy Extraction: Pull leaf nodes out of deep nesting while retaining parent context
  • Data Normalization: Convert nested recursive JSON into flat records with ancestry