Closed indigoviolet closed 14 years ago
Following up on this issue, here's what's going on.
In 0.3.4 I've added a "hack" which does the appropriate escaping of unicode objects to ascii-representations (i.e. \u00e9
). In order to circumvent some additional escaping by yajl_gen_string()
I was using yajl_gen_number()
which does a raw print to the stream.
Turns out there's a safe-guard in yajl_gen_number()
which tries to prevent using numbers as keys in a dict which causes an error to be returned on the second key-value pair that gets ignored in py-yajl (it's a bug in yajl that it wasn't caught on the first pair)
SHA: 85f3aa53e030f7a2fc51b41db580431d98948990