2
JSON does not support comments, but in Visual Studio (2017 to be more specific, my version) I add comments and do not present any error, but when I open the file in Visual Studio Code, the following message is presented to me: Comments are not permitted in JSON.
Can anyone explain that to me?
In Vscode it is also possible to use comments in JSON. I believe there must be something native to each particular system that Minifyca(compiles/decompiles) JSON when you save/open the file. Take a look at this link that has an interesting video. https://www.oreilly.com/learning/adding-comments-in-json no Stackoverflow gringo tb has a lot on the subject https://stackoverflow.com/questions/2477/can-comments-be-used-in-json and this is the Vscode project on Github https://github.com/Microsoft/vscode
– hugocsl
@hugocsl saw that at the end of the video the author puts a cool question in <title>, Can you use comments in json? I think this deserves a better discussion since it’s an arrangement!
– alxwca