⭐ 0

Valid JSON Example: API Response

Check JSON structure and configurations for errors offline in the browser.

🔒 Processed entirely in your browser — nothing you enter here is ever uploaded.

The result appears on this page after you run the tool. Nothing you enter is uploaded.

Processing... 0%
Scanning character structure
Locating brace alignment
Validating data nodes
Mapping syntax errors
Formatting report

Result

About this tool

This page opens the JSON validator preloaded with a small, correctly formatted API response: a status field and a nested data object containing an id, name, price, boolean and an array of tags. The validator runs the moment the page loads, so the pass result below is a real, live check of this exact text, not a canned screenshot.

This shape — a top-level status wrapping a nested payload object with mixed value types — is one of the most common structures returned by REST APIs, which is exactly why it's useful as a baseline: every comma, colon, quote and bracket here follows the JSON spec correctly, including the trailing entry in both the object and the array having no dangling comma after it.

Use this as a reference for what valid JSON looks like, then paste your own API response, config file or data export into the textarea to check it the same way. The trailing-comma and unquoted-key presets linked below show two of the most common ways real JSON actually breaks.

Example. The text {"a":1,"a":2} is flagged for a duplicate key even though JSON.parse would keep the last value.

Limit. A trailing comma is a syntax error, and comments are not allowed.