ComfyUI Node
JSON Pretty Printer
A ComfyUI node in JK-TextTools/json with 4 inputs and 3 outputs.
JSON Pretty Printer
- formatted_json
- is_valid
- error_message
◄json_string{}►
◄indent2►
◄sort_keysfalse►
◄compactfalse►
CategoryJK-TextTools/json
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| json_string | STRING | {} | — |
| indent | INT | 20–8 | — |
| sort_keysopt | BOOLEAN | false | — |
| compactopt | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| formatted_json | STRING | — |
| is_valid | BOOLEAN | — |
| error_message | STRING | — |