Nodes/Comflowy's Custom Nodes/Comflowy Extract JSON
ComfyUI Node

Comflowy Extract JSON

Nodes from https://comflowy.com: - Description: Extract values from a JSON object. - How to use: Provide a JSON object and the json_path to extract the value. - eg1. json_path: "a.b.c" - eg2. json_path: "outputs.0.text" if there is an array in the json object. - Output: All output values are strings, according to the provided `json_path`, if the target json_path is not a string, will return the json dump value. - Note: If the json_path is not found, it will return an error string.

By 6174·Created 2 years ago·Updated 2 years ago· 17
Comflowy Extract JSON
  • json_value
  • text1
  • text2
  • text3
  • text4
  • text5
json_path1
json_path2
json_path3
json_path4
json_path5
CategoryComflowy

Inputs (6)

NameTypeDefaultDescription
json_valueJSON
json_path1optSTRING
json_path2optSTRING
json_path3optSTRING
json_path4optSTRING
json_path5optSTRING

Outputs (5)

NameTypeDescription
text1STRING
text2STRING
text3STRING
text4STRING
text5STRING