What steps will reproduce the problem?
YAML::Emitter emitter;
emitter << YAML::BeginMap
<< YAML::Key << "mykey"
<< YAML::Value << "null"
<< YAML::EndMap;
What is the expected output? What do you see instead?
Expected output would be {mykey: 'null'}
Buggy output I'm seeing: {mykey: null}
The string "null" in the output should be quoted. Otherwise it is interpreted
as the YAML null value.
What version of the product are you using? On what operating system?
yaml-cpp 0.5.1
Original issue reported on code.google.com by markus.d...@gmail.com on 17 May 2014 at 2:34
Original issue reported on code.google.com by
markus.d...@gmail.com
on 17 May 2014 at 2:34