ComfyUI Node
JSON Extract
A ComfyUI node in Kinburg-Nodes/util with 4 inputs and 14 outputs.
JSON Extract
- found
- report
- value_1
- value_2
- value_3
- value_4
- value_5
- value_6
- value_7
- value_8
- value_9
- value_10
- value_11
- value_12
◄json_string►
◄paths# one path per line — `path` or `path -> alias`
# e.g. style_description.lighting -> lighting
►
◄default►
◄array_join, ►
CategoryKinburg-Nodes/util
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| json_string | STRING | The JSON to read — wire an LLM JSON output here, or type/paste. Prose around the JSON is tolerated (first {…}/[…] is parsed). | |
| pathsopt | STRING | # one path per line — `path` or `path -> alias` # e.g. style_description.lighting -> lighting | One path per line — `path` or `path -> alias`. Blank lines and `# comments` are ignored. Each line makes a labelled value_* output; the outputs are rebuilt when you click away from this field. Use 🔍 Explore JSON to click fields out of the last run. |
| defaultopt | STRING | Value returned for a path that isn't found (and for every output if the JSON can't be parsed). | |
| array_joinopt | STRING | , | Separator used to join matches when a path uses a `[*]`/`*` wildcard (e.g. elements[*].desc). |
Outputs (14)
| Name | Type | Description |
|---|---|---|
| found | BOOLEAN | — |
| report | STRING | — |
| value_1 | STRING | — |
| value_2 | STRING | — |
| value_3 | STRING | — |
| value_4 | STRING | — |
| value_5 | STRING | — |
| value_6 | STRING | — |
| value_7 | STRING | — |
| value_8 | STRING | — |
| value_9 | STRING | — |
| value_10 | STRING | — |
| value_11 | STRING | — |
| value_12 | STRING | — |