JCON is a configuration format that keeps the familiarity of JSON, but requires less syntax -- making it easier to read and write.
{
// this is a comment
myKey: {
key: this is a string
boolean: true
number: 123
list: [
this is item 1
this is item 2
]
multiline: `
This is a
multiline
string
`
}
}
- No quotation marks for strings or keys.
- Separation by line breaks, not commas.
- Support for line comments.
- Support for multi-line strings.
- Small footprint (~ 7k). No dependencies.
- JavaScript
- PHP (coming soon)