On Mon, Mar 17, 2008 at 7:51 AM, Matt Goodall <[EMAIL PROTECTED]> wrote:
> Hi,
>
> One thing I keep meaning to mention, prompted by the possibility of
> simplejson being sucked into the std lib, is the handling of JSON object
> names.
>
>"An object structure is represented as a pair of curly
Hi,
One thing I keep meaning to mention, prompted by the possibility of
simplejson being sucked into the std lib, is the handling of JSON object
names.
"An object structure is represented as a pair of curly brackets
surrounding zero or more name/value pairs (or members). ***A name is
a
Matt Goodall wrote:
> I noticed simplejson (and others, I suspect) allow more types than just
> a string to be given as a name, although they're always deserialised to
> unicode instances:
I suspect the intent is to mirror JavaScript's propensity for coercion.
For example, evaluating {1: 2}['1'