D. Conclusion
For a document or object of the size we had in the example a streaming parser is usually an
extreme overkill. It is complicated to use, requires you to write a lot of code and is memory-
wise probably even worse than a tree parser. It is only recommended to implement a
streaming parser if you have big objects or if you just don't know how big your object might
be. In those cases a streaming parser will be a good friend, since it only requires memory for
the objects you actually want to use from the whole big document. You can find my library
here:
https://github.com/squix78/json-streamingparser
Need help?
Do you have a question about the ESP8266 and is the answer not in the manual?