Simple custom node for ComfyUI that converts JSON strings to JSON objects.
This custom node for ComfyUI provides a simple way to convert JSON strings to JSON objects, bridging the gap between nodes that output JSON as strings and nodes that require JSON object inputs.
cd /path/to/ComfyUI/custom_nodes/
git clone https://github.com/a-und-b/ComfyUI-JSONHelper.git
After installation, you'll find a new node called "JSON String to Object" in the node menu.
If the input string is not valid JSON, the node will print an error message to the console and return None.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.