About YAMLJSON
It exists so that changing one config file does not mean installing a CLI or uploading a manifest to an online service.
What it does
It converts between YAML, JSON and TOML, points at syntax errors by line and column, and validates values against a JSON Schema.
There is no server. Every calculation happens in the JavaScript served with this page.
What is supported
- YAML: block mappings and sequences, flow collections, quoted strings, block scalars (|, >, +/−), anchors, aliases, merge keys, multiple documents (---)
- TOML: tables, arrays of tables ([[ ]]), inline tables, dotted keys, basic, literal and multi-line strings, integers, floats, booleans, dates
- JSON: RFC 8259 objects, arrays, strings, numbers, true/false/null
- JSON Schema: the core validation keywords of Draft 7 and 2020-12
What is not supported
- Semantics of custom YAML tags, complex keys (? notation) and YAML 1.1 yes/no booleans
- Every rare TOML 1.0 spelling (for example folded backslash combinations inside multi-line basic strings)
- Fetching remote $ref URLs, and checking values against a schema format
Who runs it
It is a free tool operated by OPYEB and follows the same design and policies as the other tools on the domain.
Questions go to the contact page (https://opyeb.com/contact/).
Back to the converter