I have a message defined quotation_item.proto file which has google.protobuf.Struct field to parse metadata JSON.
message QuotationItemEntry {
// Other fields
google.protobuf.Struct metadata = 15;
}
Also metadata field is defined in Java entity class
public class QuotationItem {
// Other entity fields
private Map<String, Object> metadata;
}
I want to store the QuotationItemEntry object passed in gRPC request using spring boot application but not able to convert google.protobuf.Struct
field in java.util.Map<String, Object>
.