But AFAICT json.py is the only one that supports "canonical json" (and even that support is incomplete - there is no checker / strict decoder). Is there any plan to move this "canonical" stuff into simplejson? I would like to have it available for signature/crypto stuff - unless people think that I should drop all json from signatures, instead using asn.1 and shoehorning our signatures into PKCS7 format (in itself, not a bad fit; but to do the whole job of PKCS7 implies supporting x.509, which is a standard everyone uses but nobody likes).<br>
<br>Jameson<br><br><div class="gmail_quote">On Sat, May 24, 2008 at 1:57 AM, Tomeu Vizoso <<a href="mailto:tomeu@tomeuvizoso.net">tomeu@tomeuvizoso.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, May 24, 2008 at 2:56 AM, Martin Langhoff<br>
<div class="Ih2E3d"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>> wrote:<br>
</div><div class="Ih2E3d">> On Fri, May 23, 2008 at 8:19 PM, Tomeu Vizoso <<a href="mailto:tomeu@tomeuvizoso.net">tomeu@tomeuvizoso.net</a>> wrote:<br>
>> Ouch, sorry, I should have been more explicit in that this patch<br>
>> introduces a dependency on cjson. I'm going to send next another patch<br>
>> that falls back to simplejson (slower) if cjson is not available.<br>
><br>
> Ah, it was pebkac after all. I thought cjson was in the box.<br>
> Simplejson is not though (json.py is).<br>
<br>
</div>simplejson is in joyride (not in u1), json.py is not maintained and<br>
only accepts the basic python types (not dbus.String, for example).<br>
<br>
Regards,<br>
<font color="#888888"><br>
Tomeu<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br>