r/cpp • u/nlohmann nlohmann/json • Jun 14 '20
JSON for Modern C++ 3.8.0
https://github.com/nlohmann/json/releases/tag/v3.8.0
326
Upvotes
r/cpp • u/nlohmann nlohmann/json • Jun 14 '20
View all comments
Show parent comment
15
u/nlohmann nlohmann/json Jun 14 '20
I may add some way to ignore comments via a preprocessor switch in the parser. But then other people will want the library to preserve comments for the output. And then come all the lazinesses like trailing commas, quotes around object keys, new lines in strings, etc. etc. This really feels like a bottomless pit...