Skip to main content

JSON Comments

JSON doesn't support comments.

But you can do some tricks such as adding extra attribute for comment in JSON object, for example:

{
"employee": {
"name": "Tom",
"salary": 45000,
"comments": "He is a nice man"
}
}