carlomedas / protobuf-java-format

Automatically exported from code.google.com/p/protobuf-java-format
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

using jackson to serialize/deserialze protobuff into json #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I was wondering why a json parser like jackson was not used for json 
coding/decoding.  I wrote a simple codec for json which uses jackson as the 
underlying framework and found that the performance for json serialization 
almost doubled.  The implementation is quite basic and lacks supports for 
unknownfieldsets. 
Would appreciate a feedback since I just started out with protobuf.

Original issue reported on code.google.com by varghese...@gmail.com on 1 Dec 2010 at 5:07

Attachments:

GoogleCodeExporter commented 9 years ago
Was thinking about switching from internal JSON implemntation to external one 
(was checking other libs but couldn't test it enough). If you wish, you're 
welcome to replace the current JsonFormat implementation with your submitted 
Reader/Writer

Original comment by eliran.bivas on 1 Dec 2010 at 9:33

GoogleCodeExporter commented 9 years ago
Would be happy to, lemme clean this up a bit and add support for extensions and 
unknown fields, meanwhile could you provide me commit access on this project?

Original comment by varghese...@gmail.com on 1 Dec 2010 at 9:44

GoogleCodeExporter commented 9 years ago
https://github.com/sijuv/protobuf-codec contains my json codec implementation

Original comment by varghese...@gmail.com on 2 Dec 2010 at 4:56

GoogleCodeExporter commented 9 years ago
i granted you commit rights. please merge and check that your change solve the 
other json related issues.

Original comment by eliran.bivas on 8 Jan 2011 at 9:20