yaml-cpp
yaml-cpp copied to clipboard
A YAML parser and emitter in C++
I noticed that when `YAML::Literal` is used when emitting a `YAML::Binary`, it does not take effect. Code: ```cpp #include #include #include #include #include "yaml-cpp/yaml.h" int main(int argc, char** argv) {...
The following should have the same value: ```yaml binary: !!binary AAAAA ``` ```yaml binary: !!binary | AAAAA ``` However, when parsed, the latter value has a `'\n'` appended to the...
``` What steps will reproduce the problem? 1. Parse this YAML string: data: "1" 2. Try to convert the data like so: node.as(), succeeds (!) 3. Try to convert the...
I've been upgrading from an older yaml-cpp version to 0.8.0. What I found different is that for empty strings, behavior has changed, they are now replaced with `"null"`. For example,...
Hi. As of now I've followed the tutorial and read some docs. I have a question/feature-request: - Is there a way to limit width of emitter so that it automatically...
Is there a way to emit [explicit tags](https://yaml.org/spec/1.2.2/#24-tags) when emitting YAML values? The [How to Emit YAML](https://github.com/jbeder/yaml-cpp/wiki/How-To-Emit-YAML) documentation does not have any mention of this.
Some versions of yaml-cpp require to link cmake targets with `yaml-cpp`, while more recent version require to link them with `yaml-cpp::yaml-cpp`. Is there a way to handle backward compatibility in...
Hey i am trying to build the robot_localization pkg and keep having the error regarding the yaml-cpp pkg ``` CMake Error at CMakeLists.txt:82 (add_executable): Target "ekf_node" links to target "yaml-cpp::yaml-cpp"...
**What steps will reproduce the problem?** 1. Create a struct/class containing a destructor and a function to serialize an arbitrary type of data, with the destructor calling the serialization function....