Nodes/comfyui-fvmtools/JB · Extractor
ComfyUI Node

JB · Extractor

Pulls one or more named subtrees out of a JSON string. Modes — auto-selected by the category value: • single key → recursive search through every nesting level, returns the first match wrapped as {key: value}. • dot-path → strict descent (e.g. 'character_1.hosiery'), returns {last_segment: value}. • multi → comma / newline / semicolon separated list; each category is resolved independently and the results are merged into one {key: value} dict. Categories that aren't found are skipped silently. • empty → returns the whole input unwrapped. found=True if at least one category matched.

By ping1979ping·Created 5 months ago·Updated 2 months ago· 0
JB · Extractor
    • raw_json
    • string
    • found
    json_input
    category
    output_formatloose_keys
    CategoryFVM Tools/JB

    Inputs (3)

    NameTypeDefaultDescription
    json_inputSTRING
    categorySTRING
    output_formatCOMBOloose_keys3 options: pretty_json, compact_json, loose_keys

    Outputs (3)

    NameTypeDescription
    raw_jsonSTRING
    stringSTRING
    foundBOOLEAN