Quoting decimal value in a Dictionary #752
Unanswered
nicolasbouchard-ubi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I want to add double quotes at serialization on decimal values in a Dictionary<string, string>. Here's my object in C#:
And this is the result of the default YAML serialization:
So there must be some automatic conversion from string to decimal that exists in the library but I couldn't find it. Where would be the best place to manage the Dictionary values serialization, more specifically if these values are decimals?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions