It would be great if the json module would allow and clear existing comments.

Dec. 13, 2018
12:23 p.m.
Hello, Comments in JSON files are a great way to document a configuration file for example. Even JSON's Douglas Crockford agrees that it is a helpful thing and it suggests using JSMin before handing it to the JSON parser in here https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaGSr So, I would like to suggest adding that feature do the json module. A simple boolean argument, clear_comments, with the default False to keep previous compatibility. With the clear_comments=True and following JSMin "rules", comments in the // form should be replaced with linefeeds and comments in the /* */ form with spaces. Best regards, JM
2288
Age (days ago)
2288
Last active (days ago)
0 comments
1 participants
participants (1)
-
João Matos