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

2011-01-05 Thread yalmasri
Appreciate the swift response! Forgive my ignorance in GIT, but I've got this when I ran the command: git clone git://github.com/sijuv/protobuf-codec.git Cloning into protobuf-codec... github.com[0: 207.97.227.239]: errno=No error fatal: unable to connect a socket (No error) I could ping the

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

2011-01-04 Thread yalmasri
Thanks. I downloaded the binaries and tried to use the test class but my compiler couldn't see class protobuf.codec.json.TypesProtoBuf, it's not anywhere in the binaries. Has this class been added recently but was not reflected to the binaries? I also tried to download source, but seems like GIT

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,