Modern yaml library with clear docs

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • json

    JSON for Modern C++

  • I guess this is the one time when writing your own parser wouldn't be such a bad thing... And since yaml is superset of json, maybe adding yaml support to good json library, like https://github.com/nlohmann/json would be possible.

  • yaml-cpp

    A YAML parser and emitter in C++

  • I've searched around, and the only thing I've found is yaml-cpp. The API seems fine, but I'm not satisfied with the docs. There's a little tutorial which covers most of the stuff that I'd want to know; but it doesn't properly address error handling. I'm not going to use a library if I don't know what it does in the case of an error! As far as I can find, the only docs are the tutorial, and an api reference which is difficult to navigate, and doesn't seem to have much meaningful information. There is also an 'old tutorial', which seem to refer to an older version of yaml-cpp; and so presumably it isn't relevant any longer.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts