It isn't, really. A conforming YAML parser will not treat JSON data the same way that a JSON parser will in all cases. [0,1] The only correct way to deal with JSON is using a JSON parser.
[0]https://john-millikin.com/json-is-not-a-yaml-subset
[1]https://news.ycombinator.com/item?id=31406473
It isn't, really. A conforming YAML parser will not treat JSON data the same way that a JSON parser will in all cases. [0,1] The only correct way to deal with JSON is using a JSON parser.
[0]https://john-millikin.com/json-is-not-a-yaml-subset
[1]https://news.ycombinator.com/item?id=31406473