The json module (simplejson) has only the parser written in C, so it's
still slower overall than cjson. Not by a lot, but measurable.

2009/11/12 Martin Langhoff <[email protected]>:
> On Thu, Nov 12, 2009 at 4:59 PM, Martin Langhoff
> <[email protected]> wrote:
>> Then maybe yes, I am seeing a bug in cjson that parses 'foo\/bar' 
>> incorrectly.
>
> Confirmed. In a python session:
>
>>>> json.loads('"foo\/bar"')
> u'foo/bar'    <== correct
>>>> cjson.decode('"foo\/bar"')
> 'foo\\/bar'   <== incorrect
>
>
>
> m
> --
>  [email protected]
>  [email protected] -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> _______________________________________________
> Sugar-devel mailing list
> [email protected]
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to