yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Switch to turn off emitted comments

Open nathanieltagg opened this issue 3 years ago • 0 comments

I really love using emitter << Comment << "This is a good day to comment";

However, I've found a use case where I want to emit as plain JSON (and parse with nlohmann::json). It would be convient to have a stream modifier that turns off comments, like emitter << DisableComments

nathanieltagg avatar Jan 11 '23 20:01 nathanieltagg