YAML to JSON
Processed in your browser · nothing is uploaded
Converts YAML to JSON, handling maps, sequences, scalars, comments and block scalars — the subset configuration files are actually written in.
How to use the yaml to json
It is worth being straight about what is not supported: anchors, aliases, tags and multi-document streams are refused with a message rather than misparsed, because getting those subtly wrong is worse than declining them. The type resolution follows YAML 1.1, which is where the famous surprises live — `yes`, `no`, `on` and `off` are booleans, not strings, which is why the Norway country code `NO` becomes `false` in a YAML file unless quoted. That is not a bug in the parser, it is the specification, and it has broken real deployments. Quote anything that could be read as another type.
Questions
YAML 1.1 treats yes, no, on and off as booleans. The Norway country code has to be quoted. This is specified behaviour, not a bug.