'How to define a generic map in proto file for entries in map<string, Object> in java?
I'm trying to write a proto file having generic map so that when I fetch the data from database in json format, it can be converted to proto format? Is there anyway to do this ?
Here is the image of the entries present in the database for which, proto file needs to written.
For example: I need to write a generic map in proto file in such a way that all the entries in the "PROPERTY_CATEGORY" should be converted to proto.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
