json-comment tagged requests and articles

Categorized request examples and articles tagged with [json-comment] keyword
How do I add comments to JSON?
JSON is not intended and does not support comments by design, which means that comments in the form // ... or / * ... * / are not allowed in JSON files. But there is a workaround for adding comments to JSON files. To do this, you need to add an element to your JSON file, such as "_comment," which will contain your comment. The JSON API endpoint must ignore this particular JSON comment element. In this JSON comment example, we have included two comment elements in the JSON data, which you can see below.

Online JSON Formatter
Quickly and easily reformat JSON data strings into a human-readable format and check for JSON errors. Save, share, and collaborate on your JSON online. Explore JSON with a hand-picked database of JSON code examples. The Online JSON Formatter and Validator includes the best-in-class JSON code editor with advanced JSON syntax highlighting and a best-in-class JSON linter. Online JSON Formatter and Validator does not require browser plug-ins or desktop software. It's free.