JSON5 is also a great alternative: https://json5.org/
Supports comments, trailing commas, single quotes, multi-line strings, and more number formats.
Supports comments, trailing commas, single quotes, multi-line strings, and more number formats.
[
1
2
3
]
New lines used by humans, computers should do a good job as well.
required: [
'firstName'
'lastName'
]which is the same as:
{
"required": [
"firstName",
"lastName"
]
}in JSON :)