Closed jerolba closed 5 months ago
Support deserializing group elements to a Map<String, Object>
group
message foo{ required int64 id; required binary name (STRING); required group bar { required int32 code; required double value; required int64 attr; } }
Can be deserialized to
record Foo(long id, String name, Map<String, Object> bar) {}
and bar Map will have as keys code, value and attr .
code
value
attr
The process can be applied recursively and even to the root object, deserializing to a Map where keys are id, name and bar
id
name
bar
Support deserializing
group
elements to a Map<String, Object>Can be deserialized to
and bar Map will have as keys
code
,value
andattr
.The process can be applied recursively and even to the root object, deserializing to a Map where keys are
id
,name
andbar