4 ms·
JSON does not have to have a dictionary at the root. You can have just an array.
by johns 14y ago
JSON does not have to have a dictionary at the root. You can have just an array.
- smarx 14y agoLooks like you're right. From http://www.ietf.org/rfc/rfc4627.txt http://www.ietf.org/rfc/rfc4627.txt: "A JSON text is a serialized object or array." Now I don't know why I thought this wasn't allowed.