A New Configuration File Format: JSONTOMLYAML

Tags:

JSONTOMLYAML (JavaScript Object Notation Tom’s Obvious, Minimal Language Yet Another Markup Language) is a new configuration file format. A file is a valid JSONTOMLYAML file iff it is a valid JSON file, a valid TOML file, and a valid YAML file. You get the readability of JSON, the flexibility of TOML, and the simplicity of YAML, all in one format!

Files containing JSONTOMLYAML should be stored with the file extension .jsontomlyaml and with MIME type application/json+toml+yaml. Try out JSONTOMLYAML below!


(Note that it is implementation-defined which of the three parse results are used. Implementations MUST validate that their inputs are valid JSONTOMLYAML, otherwise all the benefits are lost!)

Posted on 2023-09-13