Can we use comments inside json

0 votes
asked Mar 14 by anonymous
edited Mar 14

I know we cannot use comments in json document. But why is there any reason that creator of json haven't though about it.

1 Answer

0 votes
answered Apr 14 by mobeen (116 points)

No I guess it is not possible because json itself is the key value pairs so how you will adjust the comment in the dictionary