Modifying documents in memory in yaml-cpp
Posted
by Mike Mueller
on Stack Overflow
See other posts from Stack Overflow
or by Mike Mueller
Published on 2010-06-14T18:27:09Z
Indexed on
2010/06/14
18:32 UTC
Read the original article
Hit count: 415
I want to read a YML document, filter it by modifying some nodes in memory, and then spit it back out with an emitter. The problem is that YAML::Node appears to be designed to be read-only. Is there a way to replace a node's value (with a scalar in this case) that I'm missing?
© Stack Overflow or respective owner