Closed peter-lawrey closed 3 years ago
So the types are missing because they are inferred. so if we created this class
public static class Four extends Two {
String text;
public Four(String text) {
super(text);
this.text = text;
}
}
and changed two to use type Four, it is not inferred and produces this ( below ), which is a bit inconsistent,... I mean it's hard to know where to get the data from because it may or may not be nested.
{"@net.openhft.chronicle.wire.JSON322Test$Three":{"one":{"text":"hello"},
"two":{"@net.openhft.chronicle.wire.JSON322Test$Four":{"text":"world"}} }}
Released in Chronicle-Wire-2.22ea5, BOM-2.22ea33
Released in Chronicle-Wire-2.22ea11, BOM-2.22ea69
I'm not sure it is working for this test case.
it produces this: which has no type, for
one
andtwo