Right; what platform are you on? That approach is certainly viable - it is in fact how protobuf-net operates (via .NET attributes).
In guessing you are on Java; I do not know of a similar Java implementation. Marc On 29 Jun 2011, at 03:55, ordinary <[email protected]> wrote: > Coding use Protocol Buffers by writing message .I feel it very > complex.I think if I can only write annotation on the class,then the > class can serialize by Protocol Buffers ,it will very glad to use > Protocol Buffers > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
