YamlDotNet icon indicating copy to clipboard operation
YamlDotNet copied to clipboard

Support YAML 1.2 spec

Open aaron-meyers opened this issue 9 years ago • 10 comments

The YAML 1.2 spec makes minor changes to bring YAML into compliance with JSON as an official subset. My team has started using your YAML library and is interested in further usage but JSON compatibility is an important feature for us. We would like to see the YamlDotNet library updated to support YAML 1.2 (and may be able to do this work ourselves if there are no objections).

aaron-meyers avatar Sep 23 '16 18:09 aaron-meyers

Any update on the support for 1.2?

kand617 avatar Nov 23 '17 08:11 kand617

Hi. Was there any conclusion to this question (as to whether support for YAML 1.2 is on the roadmap)? It seems that #2053 doesn't answer to support of YAML 1.2 but rather on it's support as a default. If I misread, please let me know. If not, could you please clarify if support for 1.2 (even if via explicit %YAML 1.2 or config of the library on deserialization)? Thx

joaocc avatar Sep 23 '19 21:09 joaocc

This library intends to support YAML 1.2. It already passes many of the official tests and in terms of syntax, it should be mostly compliant. Work on schemas has been started, but is not yet complete.

aaubry avatar Sep 26 '19 00:09 aaubry

Any word on progress?

sharpninja avatar Aug 12 '20 20:08 sharpninja

This library passes all of the official yaml tests that the yaml.org site has created. It should be fully compliant. If you find any issues, then please open a new issue and we'll address them.

I'm going to close this issue for now. If you have any additional comments or questions go ahead and re-open it.

EdwardCooke avatar Jul 16 '22 04:07 EdwardCooke

Yaml 1.2 compliance would require schema support, which was never completed. I don't think this should be closed.

aaubry avatar Jul 16 '22 16:07 aaubry

schema support

That is 100% my motivation for using this new version.

sharpninja avatar Jul 16 '22 22:07 sharpninja

I’ll work on schema support once I get through all of the open issues. I’m concentrating on getting bugs fixed to stabilize the library and current feature set and then I’ll work on adding new features like this.

I reopened the issue so we don’t lose it.

EdwardCooke avatar Jul 17 '22 00:07 EdwardCooke

Ping about one year later. Any progress?

SlyckLizzie avatar Jul 01 '23 12:07 SlyckLizzie

I would also like to know if 1.2 is going to be supported by the emitter anytime soon?

rlcarrierscsharp avatar Oct 31 '23 19:10 rlcarrierscsharp