Here is my problem. I have a YAML document containing the following pair:
run_ID: 2010_03_31_101
When it is sorted out,
org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlInt:159
underscores become stripped, and the constructor returns Long 20100331101
instead of the unmodified String "2010_03_31_101"one that I really need.
QUESTION: How can I disable this behavior and force the parser to use the String constructor instead of Long?
source
share