Nodes/Kinburg-Nodes/JSON Extract
ComfyUI Node

JSON Extract

A ComfyUI node in Kinburg-Nodes/util with 4 inputs and 14 outputs.

By Kinburg·Created 2 months ago·Updated 3 days ago· 1
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)

    NameTypeDefaultDescription
    json_stringSTRINGThe JSON to read — wire an LLM JSON output here, or type/paste. Prose around the JSON is tolerated (first {…}/[…] is parsed).
    pathsoptSTRING# 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.
    defaultoptSTRINGValue returned for a path that isn't found (and for every output if the JSON can't be parsed).
    array_joinoptSTRING, Separator used to join matches when a path uses a `[*]`/`*` wildcard (e.g. elements[*].desc).

    Outputs (14)

    NameTypeDescription
    foundBOOLEAN
    reportSTRING
    value_1STRING
    value_2STRING
    value_3STRING
    value_4STRING
    value_5STRING
    value_6STRING
    value_7STRING
    value_8STRING
    value_9STRING
    value_10STRING
    value_11STRING
    value_12STRING