I have some questions :

1. Is it a good idea to use Any for transferring a serialized/deserialized 
java object from client to server for example consider this ? 

import "google/protobuf/empty.proto";
import "google/protobuf/any.proto";
import "google/protobuf/type.proto";

service AcceptorService {     
  rpc search(google.protobuf.Any) returns (google.protobuf.ListValue) {};  
  
}

2. How can I use ListValue ?

3. How can I define a Map<String, Object> in a message (I found 
MapOfObjects in maps.proto but it is using string)?

message dummy{
 map<string, object> filters = 1;
}

Thanks in advanced

-- 
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.

Reply via email to