Hi all. Would anybody be interested in an Protobuf-Converter transforms
Domain Model Objects into Google Protobuf Messages?
How to use it ?
Domain model classes that have to be transformed into protobuf messages
must satisfy conditions:
Class has to be marked by @ProtoClass annotaion that contains reference
on related protobuf message class.
Class fields has to be marked by @ProtoField annotaion. These fields
must have getters and setters.
E.g.:
@ProtoClass(ProtobufUser.class)
public class User {
@ProtoField
private String name;
@ProtoField
private String password;
// getters and setters for 'name' and 'password' fields
...
}
More information here https://github.com/BAData/protobuf-converter
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.