grpc java - Struct to Map or POJO?

393 views
Skip to first unread message

Matt Mitchell

unread,
Dec 23, 2016, 3:01:15 PM12/23/16
to grpc.io
Hi,

Is there a convenient way to convert a Struct type into a Java POJO or even Map?

Thanks,
- Matt

Masood Malekghassemi

unread,
Dec 28, 2016, 1:42:38 PM12/28/16
to grpc.io
Assuming you're referring to this Struct: https://developers.google.com/protocol-buffers/docs/reference/java/ , this is a question better suited for the protobuf lists.
That said, my initial and uninformed impression is that the answer is, "No, you'll have to roll your own or file a feature request here: https://github.com/google/protobuf."
Reply all
Reply to author
Forward
0 new messages