json-comments-rs
json-comments-rs copied to clipboard
Crate to strip out comments in json for Rust
How involved would it be to remove the white-space or add an option to do so? BTW I wrapper-ed your lib for python https://github.com/jessekrubin/jsonc2json
It is also a common case
This adds a `strip_comments_in_place` function that modifies an existing string in place to remove comments rather than going through a reader. This avoids extra allocations when you don't need to...
I'd like the ability to inject comments into a json string. This is the right crate to put it, based on the name. Details: I have configuration files that have...