71 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
71 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
JSON error checking guide
Paste malformed JSON into the checker above to identify why parsing failed. When a position is available, VetaTool reports the line, column, absolute character, offending text, and nearby source context so you can navigate to the problem without uploading the document.
The checker normalizes parser errors into a line number, column number, and zero-based source offset when the browser exposes enough position information. It also shows a compact excerpt centered on the offending character.
For a long one-line API response, the absolute character position and context preview are usually more useful than the line number. The Go to error control moves the input selection to that position.
Most JSON syntax failures come from a small set of punctuation and string mistakes. The reported location normally points to where parsing became impossible, which may be immediately after the character that needs correction.
JSON parsing, error analysis, file imports, and navigation run in the browser. Request bodies, API responses, logs, and configuration data are not submitted to an error-checking server.
This page diagnoses syntax but does not silently rewrite malformed data. Keeping correction explicit avoids changing values or structure without your review.
The comma after the name property is missing, so parsing stops when the next property begins.
{
"user": {
"name": "Ada"
"active": true
}
}Invalid JSON at line 4, column 5
Expected ',' or '}' after property value
Found near: "Ada"
"active"Common questions
Yes. When a parser position can be determined, VetaTool reports the line, column, absolute character, and a nearby source excerpt.
A parser often detects a problem only when it reaches the next token. For example, a missing comma may be reported at the following property name.
No. It diagnoses syntax and helps you navigate to the failure, but leaves corrections under your control so data is not changed silently.
No. Parsing, error analysis, and file imports run locally in your browser.