Did you read the spec? Or did you just start using it assuming you knew how it worked?
Whatever generated that clearly wasn't serializing its data using a library, or it would have converted the type into the correct format.
Did you read the spec? Or did you just start using it assuming you knew how it worked?
Whatever generated that clearly wasn't serializing its data using a library, or it would have converted the type into the correct format.
Wow, you couldn't ask for a stronger condemnation than that for YAML as a configuration language. "You clearly weren't using a library to write your config file".
In the world I live in, config file formats exist to be written and read by humans. Serialization formats exist to be generated by libraries.
But it's not unreasonable to expect 07 and 08 to work consistently.
At least with JSON, tooling can help you find invalid syntax in the middle of your file.
And JSON tooling/libraries (compared to YAML tooling/libraries) are usually faster, easier to use, have less bugs and present less incompatibilities between themselves most of the time.