yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

A YAML parser and emitter in C++

Results 186 yaml-cpp issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi, I was wondering if you could post along with the released source code tarballs the message digests for them. Any digest (sha1sums, sha256sums, etc...) would be really appreciated. Thanks,...

Hello :wave: :smile_cat: I am currently having a problem with `null` keys in `Yaml`. AFACT this is a valid `Yaml` key and value: ```yaml null: null ``` However, the following:...

Hello! I believe there may be an error in how the current codebase handles true/false value resolution for YAML 1.2. The lines in question are linked below: https://github.com/jbeder/yaml-cpp/blob/0e6e28d1a38224fc8172fae0109ea7f673c096db/src/convert.cpp#L49-L55 According to...

I would like `int` values to be output in hex format, but calling: ``` emitter.SetIntBase(Hex); ``` appears to have no effect on anything. There does not seem to be an...

I would very much like to see an example of how one would retrieve anchors from YAML::Node's. Thank you.

for e.g. given https://github.com/jbeder/yaml-cpp/wiki/Tutorial#converting-tofrom-native-data-types ```yml namespace YAML { template struct convert { static Node encode(const Vec3& rhs) { Node node; node.push_back(rhs.x); node.push_back(rhs.y); node.push_back(rhs.z); return node; } static bool decode(const Node&...

I haven't seen this, but just in case, do we have a macro/contanst with the version number define in the library? This would be handy in many ways for some...

Default constructed Binary makes UB here https://github.com/jbeder/yaml-cpp/blob/eaf72053724814be3b99d38e292fca5797a57b7b/include/yaml-cpp/binary.h#L33 `m_data[0]` is illegal for empty vector. Using vector::data() member is a proper way. Clang UB sanitizer reports "Reference binding to null pointer" here.

# Bug description With yaml-cpp version 0.8.0, when I use `YAML::Emitter` to emit a `uint8_t` in a yaml document, the result is different from other integer types. It seems that...