Parse, pretty-print, minify or canonicalize JSON (sorted keys); locate syntax errors
json_formatParse, pretty-print, minify or canonicalize JSON (sorted keys); locate syntax errors. Parses JSON and returns it pretty-printed (2/4 spaces or tabs), minified, or canonical with sorted keys, plus size, node count and depth. On invalid JSON, reports the error position with line and column. Price: $0.003 USDC per call via x402 (eip155:8453).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON text | |
| mode | No | pretty | |
| indent | No | ||
| sortKeys | No |