Re: Pike and JSON

2007-02-06 Thread Johan Sundstr�m (Achtung Liebe!) @ Pike (-) developers forum
>> From comments in Bill's code it seems to be based on some C# >> implementation by Are Bjolseth, in turn based on something else, >> but I didn't manage to look at it for very long periods of time; >> its inlined refdocs makes one want to gnaw off a leg. :-) > > This is the first time I have ever

Re: Pike and JSON

2007-02-05 Thread Johan Sundstr�m (Achtung Liebe!) @ Pike (-) developers forum
No. Bill's seems to handle unicode better. Johan Björklund's glue cmod (to json-c, http://oss.metaparadigm.com/json-c/) probably outperforms and outstyles us both in speed and quality (assuming the lib is good), and even throws mildly informative errors on illegal input. Unicode (wide strings) unf

Re: Pike and JSON

2007-02-05 Thread Martin Bähr
does this make use of the work by johan björklund ( http://modules.gotpike.org/module_info.html?module_id=33 ) or bill? (don't know where his code is) how does your work compare to those? greetings, martin.

Pike and JSON

2007-02-05 Thread Johan Sundstr�m (Achtung Liebe!) @ Pike (-) developers forum
As I have been working much with JSON (http://json.org/ or RFC 4627, http://rfc.roxen.com/4627 for those who have missed it), I recently hacked up some tools and very sloppy Pike support for it. (The first 95% of the decoder bits were kindly contributed by Martin Nilsson.) Neither encoder nor deco