Quick answer
JSON Comments – causes and fixes.
JSON Comments
JSON Comments – causes and fixes. Use a JSON validator to locate the error.
Common causes
- // or /* */.
How to fix
- Remove comments.
Use our JSON Validator to paste your input and see the exact error location. Validatethis.org offers free validators for JSON, XML, CSV, HTML, and more. Check /tools for the full list. For API access and integration, see /developers.
FAQ
- Comments in JSON?
- No.
- JSONC?
- Some parsers support.
Fix it now
Try in validator (prefill this example)