-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
DataInput
backed parser should handle EOFException
at end of doc
#325
Comments
This is actually a feature of |
Returns: |
Hmmh. I guess that'd be possible, although it would lead to rather inefficient behavior (since exceptions are rather costly on modern JVMs). I'll have to think about this. Javadoc does predate addition of |
DataInput
backed parser should handle EOFException
at end of doc
Ok: I added handling at place where it should handle the common case of end-of-input at root level (not within JSON Object or Array), and that should allow proper handling of common case. And remaining other problem cases should result in |
Found while implementing #323.
Test code:
The text was updated successfully, but these errors were encountered: