Validate and format JSON
check_jsonStrictly validate JSON and report the exact line and column of the first error with a plain explanation, plus duplicate-key warnings and structure stats. Optionally pretty-print or minify without changing any value (big numbers keep full precision). Use this before claiming JSON is valid or when locating a syntax error in long JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| format | No | Return the formatted JSON. | |
| indent | No | Spaces per level (0 = minify) or "tab". | |
| sort_keys | No |