ComfyUI-Text2Json

ComfyUI-Text2Json
★ 1

文本解析JSON转换错误处理ComfyUI节点
将文本(含多行)解析为JSON对象,易用且能优雅处理无效JSON并返回错误信息。
💡 在ComfyUI中将用户输入或脚本输出的多行字符串转换为可用JSON对象。
🍴 1 Forks💻 Python🔄 2024-11-26
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a9fb3a59e10c
📄 README

Text to JSON Node for ComfyUI

This repository contains a custom node for ComfyUI that converts text into a JSON object. The node is designed to be user-friendly and supports multi-line JSON input.

Features

  • Convert a JSON string into a JSON object.
  • Supports multi-line input.
  • Handles invalid JSON gracefully by returning an error message.
  • Installation

  • Clone this repository into the custom_nodes directory of your ComfyUI installation:
  • “`bash

    git clone https://github.com/Alvaroeai/ComfyUI-Text2Json.git ComfyUI/custom_nodes/ComfyUI-Text2Json