validate_json
Check if a JSON string is valid, pinpoint errors to exact line and column, and get performance stats like node count and parse time.
Instructions
Validate a JSON string. Returns whether it is valid, and if not, the exact error location (line and column). Also returns stats: node count, max depth, file size, parse time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The JSON string to validate. |