This will be fixed soon, I know about this. Thanks for the report!
On Tue, May 18, 2010 at 09:17, Joseph Gentle <[email protected]> wrote: > Some of the JSON messages fedone's websocket API outputs aren't valid > json. For history hashes, fedone outputs strings like this: > > "history_hash": "\262\323_Q\3001\0335\234\272\030 \370\311\'ERQ\266\026" > > \123 is an invalid JSON escape sequence. (UTF-8 characters should be > encoded with UTF-8 or \uXXXX). > > The data in question is a protobuf byte array. If the JSON parser > wants a way to encode byte arrays, it should probably be using either > base64 encoding or arrays of integers. > > Its a known issue with protobuf-java-format[1], though I don't know > how long it'll take them to do something about it. I can't even hack > around it in my code because its my JSON parser which is kicking the > bucket. (And if I'm fixing someone's JSON parser, I'd rather fix > protobuf-java-format). > > The sooner we can clean up (rewrite?) the JSON-protobuf gubbins in > fedone the better. > > -Joseph > > > [1] http://code.google.com/p/protobuf-java-format/issues/detail?id=11 > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- Anthony Baxter, [email protected] -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
