[erlang-questions] Json for Erlang?

Tony Garnock-Jones <>
Mon Dec 24 12:42:18 CET 2007


Jim Larson wrote:
> They're all roughly equivalent, so choose the one with the best
> match for the types you'll be encoding/decoding.  It's super-handy
> if you pick an encoding that doesn't require further translation
> from an "external" to an "internal" Erlang data structure.

If unicode is important to your JSON application, we've tried pretty
hard to make sure we get the utf8/16/32 translations right in the
rfc4627.erl codec. Strings are represented as binaries in UTF-8
encoding, no matter the encoding of the JSON source.

Regards,
  Tony
-- 
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: 



More information about the erlang-questions mailing list