Javatpoint Logo
Javatpoint Logo

JSON Comments

JSON doesn't support comments. It is not a standard.

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

Here, "comments" attribute can be treated as comment.

Next TopicPHP JSON Example




Please Share

facebook twitter google plus pinterest tumbler

Latest 4 Tutorials