I would like to have an JSON like data format with the following features:
- support of arrays (ideal with
[item; item; item]
as notation and[key: value; key2: value2]
), also nested - string support, ideal with the following:
"foo",0x0a,"bar"
- hex numbers, bin numbers, decimal numbers
Does anyone know a parser for such a data format written in PHP?
JSON is too inflexible, because keys must be in quotes and associative arrays have a different notation from normal ones and because of the missing string concatenation for special characters.