Nodes/LF Nodes/Switch JSON
ComfyUI Node

Switch JSON

A ComfyUI node in ✨ LF Nodes/Logic with 4 inputs and 2 outputs.

By lucafoscili·Created 2 years ago·Updated about a year ago· 50
Switch JSON
  • on_true
  • on_false
  • ui_widget
  • json
  • json_list
booleanfalse
Category✨ LF Nodes/Logic

Inputs (4)

NameTypeDefaultDescription
on_trueJSONValue to return if the boolean condition is true.
on_falseJSONValue to return if the boolean condition is false.
booleanBOOLEANfalseBoolean condition to switch between 'on_true' and 'on_false' values.
ui_widgetoptKUL_PROGRESSBAR[object Object]

Outputs (2)

NameTypeDescription
jsonJSON
json_listJSON