Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

parser:didAdd: does not fire for isolated number. #29

Open
bnickel opened this Issue · 1 comment

1 participant

@bnickel

Sending the parser @"1.0" does not result in a value because the parser does not know if more data is pending. Conversely @"true", @"null", and @\"test\"" work because the parser infers a complete object.

I believe the correct approach would be to add a [parser close] method which invokes yajl_complete_parse that can be executed when the end of the stream is reached.

@bnickel

Close could also detach the delegate to reduce the risk of a memory leak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.