squix78 / json-streaming-parser

Arduino library for parsing potentially huge json streams on devices with scarce memory
MIT License
205 stars 88 forks source link

Added reset() to reuse parser #6

Closed descarte1 closed 7 years ago

descarte1 commented 7 years ago

If you want to allocate a parser once and reuse it to save memory, the parser requires resetting to its initial state. I've added a new reset() method which enables you to do this.