yaml-cpp
yaml-cpp copied to clipboard
Switch to turn off emitted 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