Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! 在 GitHub 上编辑
概述
JsonExtractString 节点用于读取包含 JSON 数据的文本字符串,并提取与特定键关联的值。它会将提取的值转换为字符串。如果 JSON 无效、未找到该键或值为 null,节点将返回空字符串。输入
| 参数 | 数据类型 | 是否必填 | 范围 | 描述 |
|---|---|---|---|---|
json_string | STRING | 是 | 不适用 | 包含待解析 JSON 数据的文本。 |
key | STRING | 是 | 不适用 | 要从 JSON 对象中提取字符串值的特定键。 |
输出
| 输出名称 | 数据类型 | 描述 |
|---|---|---|
output | STRING | 从 JSON 中为指定键提取的字符串值,如果提取失败则返回空字符串。 |
Source fingerprint (SHA-256):
f05e2d9fd4888870a844c85ac7543d6c38c1c56f2ef22a402fc93ee716743612