3 ms·
Anything that accepts YAML will accept JSON. I don't mean this in a "if you just swap the parser" way. I mean that in the "if you provide JSON to a program tha
by rtpg 6y ago
Anything that accepts YAML will accept JSON.
I don't mean this in a "if you just swap the parser" way. I mean that in the "if you provide JSON to a program that expects YAML, it will parse it". JSON is a subset of YAML
So not only do you have a way of not using YAML, you can also force this decision onto most third-party services as well, and no-one will know the difference.