usesignal_format_json
Validate, pretty-print or minify JSON, optionally sorting keys. Invalid JSON reports the exact line and column; with repair (default on) it fixes common problems such as trailing commas, single quotes, comments and unquoted keys, and lists each fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | ||
| mode | No | format | |
| indent | No | 2 | |
| repair | No | ||
| sortKeys | No |