EasyManua.ls Logo

Espressif ESP8266 - Conclusion

Espressif ESP8266
51 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Other manuals for Espressif ESP8266

Related product manuals