Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support YAML 1.2 spec #209

Open
aaron-meyers opened this issue Sep 23, 2016 · 10 comments
Open

Support YAML 1.2 spec #209

aaron-meyers opened this issue Sep 23, 2016 · 10 comments
Labels

Comments

@aaron-meyers
Copy link

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).

@kand617
Copy link

kand617 commented Nov 23, 2017

Any update on the support for 1.2?

@joaocc
Copy link

joaocc commented Sep 23, 2019

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

@aaubry
Copy link
Owner

aaubry commented Sep 26, 2019

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.

@sharpninja
Copy link

Any word on progress?

@EdwardCooke
Copy link
Collaborator

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.

@aaubry
Copy link
Owner

aaubry commented Jul 16, 2022

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

@sharpninja
Copy link

schema support

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

@EdwardCooke EdwardCooke reopened this Jul 17, 2022
@EdwardCooke
Copy link
Collaborator

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.

@SlyckLizzie
Copy link

Ping about one year later. Any progress?

@rlcarrierscsharp
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants