I want to emit a string with quotes using yaml-cpp so it looks like
time_stamp: "August 10, 2011 01:37:52"
in the output yaml file. How do I do it? Thanks.
YAML::Emitter out;
// ...
out << YAML::DoubleQuoted << "August 10, 2011 01:37:52";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With