Deserializing protobuf message in Java without generated classes

29 views
Skip to first unread message

Venkat Duddu

unread,
Oct 13, 2021, 3:27:23 PM10/13/21
to Protocol Buffers
I have a use case where we want to de-serialize the protobuf message into Generic key value pairs like Map<String, Object> (something similar to support in Jackson deserialize json into generic map).

At the time of deserialization I have the proto schema along with data (bytest) to deserialize, but not the generated classes.

Would it be possible to do so?

Regards,
Venkat.
Reply all
Reply to author
Forward
0 new messages