johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [johnzon] csaboka commented on pull request #74: True object and array streaming
Date Sat, 10 Jul 2021 09:05:22 GMT

csaboka commented on pull request #74:
URL: https://github.com/apache/johnzon/pull/74#issuecomment-877601749


   Added some unit tests to validate that a parse exception is thrown when trying to traverse
the stream and invalid JSON is encountered. I still can't figure out a good way to make the
`KEY_NAME` check to fail. I could write a new subclass of JohnzonJsonParserImpl just to make
it return unexpected values from `next()`, but that seems to be overkill for testing this
edge case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@johnzon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message