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 08:10:33 GMT

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


   > @csaboka it is mainly about ensuring the error message references it is about the
key and not just a "string" (which can be a value), think we should harness that
   
   I've added a check to make sure we get `KEY_NAME` in the object stream (unless it's `END_OBJECT`
and we're done). I couldn't come up with a good test case for it, though. All the cases I
could think of where `next()` would return something other than `KEY_NAME` ended up failing
with a `JsonParsingException` instead.


-- 
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