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

Should fix #970 and #764 when trying to add yaml-cpp to other project

YAML is often used for configuration input, and it's a bit difficult to manage defaults: Current: ```cpp inline bool validField(const YAML::Node& node, const std::string& field) noexcept { if (node.IsDefined() &&...

Would it be possible to add YAML schema validation? Thank you!

Changes are as per https://github.com/jbeder/yaml-cpp/issues/1116#issuecomment-1166975890 I also updated CONTRIBUTING.md as it took me a moment to find the correct test script (it is no longer called 'run_tests') - might help...

Thank you for the work on this great project. I wanted to ask you for documentation ( I could not find on my own ) for exceptions' specific usage. For...

D:/mingw64lib/YAML_CPP/include/yaml-cpp/node/impl.h:19:8: error: 'YAML::Node::Node()' redeclared without dllimport attribute after being referenced with dll linkage [-Werror] inline Node::Node() ^~~~ D:/mingw64lib/YAML_CPP/include/yaml-cpp/node/impl.h:45:8: error: 'YAML::Node::Node(const YAML::Node&)' redeclared without dllimport attribute after being referenced with dll...

As per the [parsing tutorial](https://github.com/jbeder/yaml-cpp/wiki/Tutorial#basic-parsing-and-node-editing), there is an example iterating over a collection YAML node like you would on a map. ``` YAML::Node primes = YAML::Load("[2, 3, 5, 7, 11]");...

yaml-cpp: 0.6.2 Arch: Linux x86_64 Compiler: gcc/7.2.0, C++14 I am trying to write a general purpose access routine to pull the line number from a tree. I have ```cpp class...

## Environment * CentOS 7 * yaml-cpp 0.6 * LLVM clang++ 8.0.1 ## MWE ```yaml demo.yaml hello: - world hi: - world ``` ```cpp mwe.cc #include #include int main() {...