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"
}
}Learn workarounds for adding comments in JSON, such as using a comments attribute in objects when native JSON comment syntax isn't supported.
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"
}
}