Can we have YAML Support
Describe the proposed feature
Dear Daniel,
I understand the library is called jsoncons and I understand I might be asking for too much. However, jsoncons became for me the serialization lib of choice with its beautiful mappings and ease of use. Using any other tools and writing mappings just feels too cumbersome.
Can you think about adding the YAML extension to jsoncons, since YAML is a superset of JSON and both formats are closely related?
Cheers, pat.
What other libraries (C++ or other) have this feature?
yaml-cpp has an implementation which is somewhat similar to jsoncons' approach.
Okay, it's on the list. I've been studying the C library libyaml, which looks to me to be very nicely designed, and I think we can have a C++ header only counterpart that sends events to or receives events through jsoncons visitors. libyaml is interesting, it's likely that some of the ideas in libyaml will find their way into other jsoncons parsers.
We'll aim to support YAML 1.2, which brings YAML into compliance with JSON as an official subset.
Splendid news! Big heads up for this.
Is there any update on this topic? I see there is a branch for the yaml extension but I can't judge how far it is.