منسق JSON
نسّق JSON لتسهيل قراءته.
تحقق من الصياغة واكتشف أخطاء JSON.
الطرق التفصيلية والأمثلة متاحة باللغة الإنجليزية.
Validation parses the entire input as JSON. A valid document can be an object, array, string, number, boolean, or null. Errors are reported using the JavaScript parser message and line/column information when available.
{"name":"Aman"} is valid JSON. {name:"Aman"} is invalid because JSON object keys require double quotes.
Troubleshoot a rejected API body or a configuration file that will not load. Validate the actual copied payload, including quotes and commas, rather than a shortened fragment that may hide the problem.
Yes. Standard JSON allows an object, array, string, number, boolean, or null at the top level. Your consuming API may impose stricter requirements.
The parser points to where it can no longer continue. A missing quote, comma, or bracket earlier in the input can make a later character appear to be the problem.