enefry / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

Add optional support for reading and writing C and C++, and maybe bash style comments #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to use rapidjson for all my projects, including using it for 
configuration files. I know JSON doesn't officially support comments, but it 
would be useful if support for comments could be optionally enabled.

Even if comments were disabled, it would be useful if rapidjson just ignored 
and discarded any comments when reading, as it does with whitespace.

When comments are enabled, rapidjson should keep them so they can be written 
out, both in normal output and when pretty-printing.

JsonCpp supports this functioanlity, so you could probably look at the code for 
that to help implement in rapidjson, if required.

Original issue reported on code.google.com by keith3...@rocketmail.com on 23 Dec 2012 at 12:25

GoogleCodeExporter commented 9 years ago

Original comment by milo...@gmail.com on 21 Jan 2013 at 1:15

GoogleCodeExporter commented 9 years ago
This issue has been merged to https://github.com/miloyip/rapidjson/issues/36 
for further discussion.

Original comment by milo...@gmail.com on 13 Jul 2014 at 4:35

GoogleCodeExporter commented 9 years ago

Original comment by milo...@gmail.com on 13 Jul 2014 at 4:37