Our great sponsors
-
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.
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.
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.
Related posts
- JSON for Modern C++ 3.11.3 (first release since 473 days)
- It is either a clever technique or a sad failure
- How to compile project to separate files to prevent having single large executable as a result?
- C++ that allows tracking peer to peer multimedia streaming connections using a Flat File - NOT MySql
- C++ Packages for a custom Game Engine - That One Game Dev