I have a valid json:
{
"arg": {
"channel": "a",
"sub": "b"
},
"action": "update",
"data": [{
"a": [
[
"0.35543",
"199.194504",
"0",
"2"
],
[
"0.3556",
"0",
"0",
"0"
]
],
"b": [],
"ts": "122"
}]
}
And i want to parse it using chronicle-wired, but getting erorrs.
Let's get a
attribute:
ValueIn data1 = wire.read("data");
while (data1.hasNextSequenceItem()) {
data1.sequence(out, this::read0);
}
private void read0(Object out, ValueIn valueIn) {
valueIn.applyToMarshallable((f) -> {
ValueIn a = f.read("a");
ValueIn b = f.read("b");
return out;
});
}
Throws net.openhft.chronicle.core.io.IORuntimeException: Unsupported type [