json_process
Format, compress, escape, unescape, or validate JSON strings with optional indentation for formatted output.
Instructions
JSON 格式化/压缩/转义/去除转义/校验。action 可选 format(美化)、compress(压缩)、escape(转义)、unescape(去除转义)、validate(仅校验)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | JSON 字符串 | |
| action | No | 操作类型 | format |
| indent | No | format 时的缩进空格数 |