Jorge Vargas schrieb:
> top level array is invalid json!
> 
> from the super simple spec here json.org you can see that the top
> level must always be a JS object which means at least one key which
> means always a python dict.

Where do you get that from json.org? The text is a bit vague, but the 
sentence "JSON is built on two structures" seems to imply that both are 
allowed. See also rfc4627 which explicitly says:

    A JSON text is a serialized object *or* array.

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to