maml
{ project: "MAML" tags: [ "minimal" "readable" ] # A simple nested object spec: { version: 1 author: "Anton Medvedev" } # Array of objects with nested objects examples: [ { json: { name: "JSON" born: 2001 } } { maml: { name: "MAML" born: 2025 } } ] notes: """ This is a multiline strings. Keeps formatting as-is. """ }Rationale
JSON is the most popular data-interchange format. But it isn't a very good configuration language.
MAML keeps JSON’s simplicity and adds only the needed bits for a good configuration language:
- Comments
- Multiline strings
- Optional commas
- Optional key quotes
MAML is human-readable and easy to parse.
FAQ
Implementations
MAML is a brand-new language, so feel free to create new implementations following the specification.
- JavaScript
maml.js MAML v0.1