Overview
The Extract Keys command provides functionality for:- Extracting object keys from nested child arrays
- Wrapping extracted keys under a specified property name
- Simplifying complex nested structures
Command Type
Command Type ID: 1011Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| childKey | string | The property name to use as a wrapper for the extracted keys in the output | Yes |
Usage Examples
Extract Keys from Children
Extract Keys with Custom Wrapper
Common Use Cases
- Structure Simplification: Flatten nested object key arrays into a simpler format
- Key Discovery: Extract what keys are present in dynamic or schema-less child objects
- Pipeline Preparation: Prepare key lists for downstream mapping or filtering
Related Commands
- Key Mapping - Map extracted keys to new names
- Json Path - Navigate into extracted structures
- Object Mapper - Transform extracted key output