@radzor/json-transform
Transform JSON data using JSONPath expressions, field mapping rules, filtering, flattening, and merging. Supports composable transformation pipelines for reshaping data between APIs, databases, and LLM contexts.
Data & Databasev0.1.0typescriptpythonUniversaljsontransformmappingjsonpathdataetlpipelineby Radzor
Install
View source on GitHub →$npx radzor@latest add json-transform
⚠ Constraints: Pure computation — no network calls, no API keys. Runs in any JavaScript/Python environment. JSONPath implementation covers common expressions but not the full JSONPath spec.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| strictMode | boolean | false | When true, missing source paths throw errors. When false, missing paths produce undefined. |
strictModeboolean
When true, missing source paths throw errors. When false, missing paths produce undefined.
default: false
Outputs
| Name | Type | Description |
|---|---|---|
| transformedData | unknown | The transformed JSON data. Shape depends on the transformation rules applied. .dataunknown .metadata{ inputKeys: number; outputKeys: number; transformations: number } |