On 08/03/2009, at 7:19 PM, Jens Alfke wrote:

Comments and suggestions welcome, of course :)

One issue with a canonical form is that you probably want to use a Unicode Normalization Form (NFC) as a generic step (http://unicode.org/reports/tr15/ ). Also, lexicographic order is relative to a l18n profile in Unicode because different languages sort the same Unicode characters differently. Given that you need something universal, I think code- point ordering is a better solution.

OLPC has a start on canonical JSON: http://wiki.laptop.org/go/Canonical_JSON .

Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

The fact that an opinion has been widely held is no evidence whatever that it is not utterly absurd.
  -- Bertrand Russell


Reply via email to