Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Converting between JSON and YAML #7232
There are many uses cases for such a conversion, one example is storing arbitrary YAML input data in a database using a JSON type.
The conversion can almost entirely be implemented by delegating to
Since YAML is a superset of JSON,
All YAML raw types except