On 12/25/05, Bob Ippolito <[EMAIL PROTECTED]> wrote: > Ok, it's done in svn with the obvious API (simple_json.loads/load), > which takes an optional encoding kwarg to specify what encoding to > expect input to be in. It must be an ASCII based encoding though, > something like UCS-2 needs to come in as unicode because that affects > more than strings. The encoder in 1.0 encodes as ASCII represented > as str instances by default (using \uXXXX escapes), you can turn that > off and get 0.1 behavior by passing "ensure_ascii=False", which will > give you either a str or unicode string as output based on the normal > Python str->unicode coercion rules.
Nice! Thanks, Bob! Kevin

