Closed bjorn-ove closed 5 years ago
(looks like I never hit the Comment
button here)
This looks like the emitter doesn't properly quote strings that start with 0x
. I'll see if that can't be fixed.
@dtolnay @chyh1990 this is an issue that is already fixed, please take a look
There is no way as far as I can tell to store number like strings. When you parse the yaml file everything works as expected, but when you serialize it again it turns into a number.
I did look at the response in #56, but don't think that applies here. My use-case is serde-yaml, but I don't think it is possible to solve it there before it is solved here.