skgandikota/JSON Path Extract

Parse a JSON string and extract values using dot notation paths. Chain after any action that outputs JSON.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
jsonThe JSON string to parse.yes
pathDot notation path to extract a value (e.g. "user.name", "items[0].id", "data.tags[1]").no""
pathsJSON object mapping output names to dot notation paths (e.g. {"name": "user.name", "id": "user.id"}).no{}
namedescription
valueThe extracted value from the "path" input. Returns JSON string for objects/arrays, raw value for primitives.
valuesJSON object with all extracted values from the "paths" input.
keysComma-separated list of top-level keys in the parsed JSON.
lengthLength of the root element if it is an array, or number of top-level keys if object.
is_arrayWhether the root JSON element is an array (true/false).
is_objectWhether the root JSON element is an object (true/false).