Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix for endDocument() event #4

Open
CubanJew opened this issue Mar 21, 2016 · 0 comments
Open

Bug Fix for endDocument() event #4

CubanJew opened this issue Mar 21, 2016 · 0 comments

Comments

@CubanJew
Copy link

The endDocument()event never gets activated (even when using the included sample implementation code) due to a small bug in JsonStreamingParser.cpp

Inside function JsonStreamingParser::endObject(), change line 277 from

if (stackPos == -1) {
to
if (stackPos == 0) {

squix78 added a commit that referenced this issue May 31, 2016
altrunner pushed a commit to altrunner/json-streaming-parser that referenced this issue Aug 9, 2017
* Added error callback to JsonListener. Reimplemented exception handling to use this callback with PROGMEM-backed strings which can be either short or long form

* Updated README.md with error callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant