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

From a [question on StackOverflow](https://stackoverflow.com/questions/78504953): ```cpp int main(){ std::locale::global(std::locale("")); YAML::Emitter out; out

It seems, that the former default value mode does not work anymore: node["myParam"].as(default_value) If the myParam key does not exist I get the error: yaml-cpp: error at line 0, column...

**NOTE: this is based on https://github.com/jbeder/yaml-cpp/pull/1243, but includes a fix for proper merging (by comparing the key itself, instead of shared_ptrs, see the last patch).** Support for YAML Merge keys...

when I build my project CMake Error at /usr/local/lib/cmake/yaml-cpp/yaml-cpp-config.cmake:49 (target_link_libraries): Cannot specify link libraries for target "yaml-cpp" which is not built by this project. Call Stack (most recent call first):...

fixes #1289. This PR adds a new function `fp_to_string`. `fp_to_string` internally uses dragonbox to compute the required precision to print floating point numbers. This avoids uglification of floating point numbers...

Leave at first empty root. This avoids an infinite loop in case of `HandleNextDocument` returning true even if the document has errors, basically because no `token.type` gets matched in `SingleDocParser::HandleNode`,...

* fixes #1142 * adds a test case that applies a local tag to a node using the emitter, then loads the output of the emitter as a node

Exclude all warning-emitting flags if building as main project with the NVHPC compiler (effectively making it take the same exception as MSVC there). Otherwise, the build will fail right now,...

![Screenshot 2024-08-24 170315](https://github.com/user-attachments/assets/a1f836f6-6a58-4b83-8a76-97c69d581ec0) I am using tag:0.8.0 compiling on windows using cmake -G "Visual Studio 17 2022" and compiling in visual studio from sln project generated.