JSON Formatting and Validation Guide

1. Lock the exact error position

Focus on the error line and two surrounding lines first. It is faster than scanning the entire payload.

2. Check common breakpoints

Prioritize trailing commas, missing double quotes, and JSONC comments.

3. Re-validate in small edits

Fix one issue at a time and validate after each change to avoid introducing new errors.