ComfyUI Node
JSON -> Vars (Editable)
Convert JSON to SIMPLECHAT_VARS (Mustache vars), with optional flatten + overrides.
JSON -> Vars (Editable)
- vars_in
- vars
- obj
◄json_text►
◄strip_code_fencetrue►
◄flatten_keystrue►
◄prefix►
◄override_modevars_in_overrides_json►
◄overrides►
CategorySimpleChat/Utils
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| json_text | STRING | — | |
| strip_code_fence | BOOLEAN | true | — |
| flatten_keys | BOOLEAN | true | Flatten nested keys into a.b.c and arr[0] style keys. |
| prefix | STRING | Optional prefix, e.g. anima. (will become prefix.key) | |
| override_mode | COMBO | vars_in_overrides_json | 2 options: vars_in_overrides_json, json_overrides_vars_in |
| overrides | STRING | — | |
| vars_inopt | SIMPLECHAT_VARS | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| vars | SIMPLECHAT_VARS | — |
| obj | SIMPLECHAT_JSON | — |