The following is technically invalid JSON:
{
color: "blue",
size: 14
}
because the property names "color" and "size" are required by the spec to be quoted, i.e.
{
"color": "blue",
"size": 14
}
However, I've noticed that many web services that purport to return "JSON" do not quote their property names, and hardly anybody writing Javascript will quote their property names, since Javascript doesn't require it.
Have there been any proposals to amend or fork JSON to allow unquoted property names? It seems to be a much more natural way of using the format, but I've never seen anything suggesting it should be officially adopted.