Re: [protobuf] protobuf json codec

2010-12-08 Thread Siju Varghese
Hi Kenton,

Thanks.

I have removed com.google from the package declaration.

Also I have added the following features :
1) XMLCodec : Relies on stax (woodstox) for parsing the xml
2) Faithfully propagate unknown fields in json/xml.

Details are there on the project twiki at
https://github.com/sijuv/protobuf-codec/wiki .
Could you also update project link under
http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns to indicate the
support for xml too.

Would be great to hear the feedback from the community.

Regards,
Siju



On Wed, Dec 8, 2010 at 8:43 AM, Kenton Varda  wrote:

> Hi Siju,
>
> This is pretty cool.  I added it to the third-party add-ons wiki.
>   http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns
>
> Just a minor complaint:  You are not Google, so your code should not live
> under the com.google package.  Can you please move it to a different
> package?  Perhaps com.github.sijuv would be appropriate?
>
>
> On Wed, Dec 1, 2010 at 9:11 PM, Siju  wrote:
>
>> I have written a json codec for protobuf which uses jackson as the
>> underlying parsing framework. It is twice as fast for json-protobuf
>> conversion compared to the json codec at
>> http://code.google.com/p/protobuf-java-format/
>> and about the same for protobuf-json conversion.
>>
>> This is the first draft, and I plan to plugin other serialization
>> schemes like xml.
>>
>> Appreciate feedback from the community.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Protocol Buffers" group.
>> To post to this group, send email to proto...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> protobuf+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/protobuf?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] protobuf json codec

2010-12-07 Thread Kenton Varda
Hi Siju,

This is pretty cool.  I added it to the third-party add-ons wiki.
  http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns

Just a minor complaint:  You are not Google, so your code should not live
under the com.google package.  Can you please move it to a different
package?  Perhaps com.github.sijuv would be appropriate?

On Wed, Dec 1, 2010 at 9:11 PM, Siju  wrote:

> I have written a json codec for protobuf which uses jackson as the
> underlying parsing framework. It is twice as fast for json-protobuf
> conversion compared to the json codec at
> http://code.google.com/p/protobuf-java-format/
> and about the same for protobuf-json conversion.
>
> This is the first draft, and I plan to plugin other serialization
> schemes like xml.
>
> Appreciate feedback from the community.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] protobuf json codec

2010-12-01 Thread Siju Varghese
Missed out the link the source code. Please find the codec I wrote at
https://github.com/sijuv/protobuf-codec


On Thu, Dec 2, 2010 at 10:41 AM, Siju  wrote:

> I have written a json codec for protobuf which uses jackson as the
> underlying parsing framework. It is twice as fast for json-protobuf
> conversion compared to the json codec at
> http://code.google.com/p/protobuf-java-format/
> and about the same for protobuf-json conversion.
>
> This is the first draft, and I plan to plugin other serialization
> schemes like xml.
>
> Appreciate feedback from the community.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.