Hi everyone!
Has anyone else had a problem with JYaml 1.3 where on Yaml.load it is casting a number (like 102) as an Integer, even if you put it in quotes? For example, here's a small snippet from my yaml file:
. . . listValues: "102": Joe "101": John . . .
The 102 and 101 get constructed into the object created by Yaml.load as Integers, despite those quotes. I have tried:
- Single quotes
- !!str
- !str
- ? !str
- ? "102"
- ? '102'
I am starting to wonder if JYaml has a bug, so I am just reaching out to see if anyone else ran into this.
Thanks!