ComfyUI Node
JsonGetPath (Yogurt Nodes)
Get value from JSON object using JSONPath
JsonGetPath (Yogurt Nodes)
- json_data
- default_value
- value
◄path$►
◄use_defaultfalse►
◄raise_on_errorfalse►
CategoryYogurtNodes/Logic
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| json_data | * | JSON object or string | |
| path | STRING | $ | JSONPath expression (e.g., $.users[0].name) |
| default_valueopt | * | Default value if path not found | |
| use_defaultopt | BOOLEAN | false | Return default value instead of None |
| raise_on_erroropt | BOOLEAN | false | Raise error if path not found |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | * | — |