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
Original issue reported on code.google.com by
vitaly...@yahoo.com
on 6 Jun 2012 at 1:39