kshchepanovskyi / protostuff-googlecode-exported

Automatically exported from code.google.com/p/protostuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option for java_v2protoc_schema to de/serialize enums by name

GoogleCodeExporter opened this issue · comments

The java_v2protoc_schema will always ser/deser enums using their numeric 
values. 
Protobuf enums are versioned that way hence its highly recommended to write 
using their number values. 

Feel free to put up an issue (enchancement) for a new java_v2protoc_schema 
compiler option that generates code specifically to ser/deser enums via their 
name. 

https://groups.google.com/group/protostuff/browse_thread/thread/7bbe8b473ffc275b

Original issue reported on code.google.com by vitaly...@yahoo.com on 6 Jun 2012 at 1:39

added @ r1546

Original comment by david.yu...@gmail.com on 5 Jul 2012 at 1:10

  • Changed state: Fixed