Nodes/comfyui-json-nodes/JSON Root Object
ComfyUI Node

JSON Root Object

Preview and validate final JSON object. Accepts dynamic object inputs.

By olliethomas1992·Created 5 months ago·Updated 5 months ago· 3
JSON Root Object
  • objects
  • JSON_TEXT
preview_json{}
duplicate_key_policyerror
strict_modefalse
pretty_printtrue
schema_json
Categoryutils/json

Inputs (6)

NameTypeDefaultDescription
objectsCOMFY_AUTOGROW_V3
preview_jsonSTRING{}
duplicate_key_policyCOMBOerrorWhat to do when multiple field inputs share the same key: error (reject), overwrite (last wins), or keep_first.
strict_modeBOOLEANfalseWhen enabled, keys not declared in the schema are rejected.
pretty_printBOOLEANtrue
schema_jsonoptSTRINGOptional JSON Schema. Supports type, required, properties, enum, pattern. Use 'Create Schema' button to auto-generate from preview.

Outputs (1)

NameTypeDescription
JSON_TEXTSTRING