Re: [protobuf] Re: Converting JSON Text Into PB Bytes Type

2011-01-03 Thread Siju Varghese
You could use https://github.com/sijuv/protobuf-codec . You can check the test case at https://github.com/sijuv/protobuf-codec/blob/master/protobuf-codec-json/src/test/java/protobuf/codec/json/JsonCodecTest.javafor usage. This library is listed under the google protobuf ThirdPartyAddOns wiki as

Re: [protobuf] Re: Converting JSON Text Into PB Bytes Type

2010-12-28 Thread Kenton Varda
You should probably contact the authors of protobuf-java-format; I'm not sure if they pay attention to this list. Base64 is the best way to encode arbitrary (non-text) data as text. However, it's really up to the JSON converter code you are using to decide what format to use. As far as I know,