Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Robert Brewer
Bob Ippolito wrote: > On Thu, Mar 20, 2008 at 5:50 PM, Robert Brewer <[EMAIL PROTECTED]> > wrote: > > Deron Meranda wrote: > > > And even then, we're not just talking about a JSON parser. > > > We're all doing more than that; we're mapping Python to JSON. > > > And there is no definitive spec for t

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Bob Ippolito
On Thu, Mar 20, 2008 at 5:50 PM, Robert Brewer <[EMAIL PROTECTED]> wrote: > Deron Meranda wrote: > > And even then, we're not just talking about a JSON parser. We're all > > doing more than that; we're mapping Python to JSON. And there is > > no definitive spec for that. Just look at my numbe

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Robert Brewer
Deron Meranda wrote: > And even then, we're not just talking about a JSON parser. We're all > doing more than that; we're mapping Python to JSON. And there is > no definitive spec for that. Just look at my numbers tests; there are > a lot of differences in how numeric mappings are done, but yet

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Deron Meranda
On Thu, Mar 20, 2008 at 6:48 PM, John Millikin <[EMAIL PROTECTED]> wrote: > This is fantastic. My knowledge of other JSON modules was based mainly > on the comparison page from json.org, and yours is much more complete > and informative. Well that's understandable. What's on json.org is great

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Deron Meranda
On Thu, Mar 20, 2008 at 7:50 PM, Bob Ippolito <[EMAIL PROTECTED]> wrote: > > Anyway, to get JSON in UTF-8, I'm calling it like this: > > > > simplejson.dumps( ["\x1a"], ensure_ascii=False ).encode('utf8') > > > > which on my system outputs this: '["\x1a"]' > > rather than this: '["\\u

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Bob Ippolito
On Thu, Mar 20, 2008 at 3:38 PM, Deron Meranda <[EMAIL PROTECTED]> wrote: > On Thu, Mar 20, 2008 at 6:03 PM, Bob Ippolito <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 20, 2008 at 1:37 PM, Deron Meranda <[EMAIL PROTECTED]> wrote: > > > > I finally sat down and put the five or so top JSON libraries

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread John Millikin
On Thu, Mar 20, 2008 at 12:37 PM, Deron Meranda <[EMAIL PROTECTED]> wrote: > I finally sat down and put the five or so top JSON libraries > to the test so we can all see what's what. I've put everything > in a report here: > > http://deron.meranda.us/python/comparing_json_modules/ > This is fa

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Deron Meranda
On Thu, Mar 20, 2008 at 6:03 PM, Bob Ippolito <[EMAIL PROTECTED]> wrote: > On Thu, Mar 20, 2008 at 1:37 PM, Deron Meranda <[EMAIL PROTECTED]> wrote: > > I finally sat down and put the five or so top JSON libraries > > to the test so we can all see what's what. I've put everything > > in a re

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Bob Ippolito
On Thu, Mar 20, 2008 at 1:37 PM, Deron Meranda <[EMAIL PROTECTED]> wrote: > On Sun, Mar 16, 2008 at 7:18 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > I'm reading Alan's post as saying that he has a competing implementation. > > Yes, there are several JSON implementation now, some > bette

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-20 Thread Deron Meranda
On Sun, Mar 16, 2008 at 7:18 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I'm reading Alan's post as saying that he has a competing implementation. Yes, there are several JSON implementation now, some better than others. I finally sat down and put the five or so top JSON libraries to the te