-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Serialization of numeric valid strings #265
Comments
I don't think that it is currently possible to change this behavior. But I agree that it should be fixed. I'll assign myself to it and see what can be done. |
Are there any updates to this? |
I created my own implementation of a ChainedEventEmitter based on feedback from StackOverflow to handle strings that parse to int's and force quotes around them. |
3.5 years later and still no fix? :( |
This issue was resolved in the 12.x releases. |
Is there a way to serialize a string that is valid as a number, like "001122" and "1_2_3", as a string?
I tryed as below
and output was
then other yaml parser recognized as below (because of YAML specification)
How can I serialize them as below?
I read YamlDotNet/Core/Emitter.cs but I have no good idea. (no source value type check?)
The text was updated successfully, but these errors were encountered: