Trying to parse a potentially huge JSON and the “normal” parser isn’t handling it…
So this https://github.com/squix78/json-streaming-parser/tree/master/examples/JsonStreamingParser looks like a good alternative, except it fails to compile in PIO (does compile fine in Arduino IDE).
Basically it dies at this line:
with this error:
.pioenvs/nodemcuv2/src/main.cpp.o:(.data.listener+0x0): undefined reference to ``vtable for ExampleListener'
The library itself is hardly documented and quite complex (at least to me). The author uses it in his weather station - which doesn’t really help, because although those examples compile, they are giant, complex listings with only few comments…
Would appreciate any help, this is driving me nuts!