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

Correctly type yaml scalar values #8

Open
bentayloruk opened this issue Nov 28, 2012 · 0 comments
Open

Correctly type yaml scalar values #8

bentayloruk opened this issue Nov 28, 2012 · 0 comments

Comments

@bentayloruk
Copy link
Owner

It appears that YamlDotNet does not provide type information for yaml scalar values. It also appears that we cannot perfectly work this out ourselves as the yaml int 123 and yaml string "123" are both exposed by YamlDotNet as "123". I have raised an issue to try and confirm this with the YamlDotNet guy aaubry/YamlDotNet#6

-- Update -- Antoine has suggested we use the Style property to detect quoting and then the regex from the Yaml spec here http://yaml.org/spec/1.2/spec.html#id2804923

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

No branches or pull requests

1 participant