mkarg commented on issue #45: [JOHNZON-277] Fails to deserialize inner empty 
JSON block {} at OBJECT_START
URL: https://github.com/apache/johnzon/pull/45#issuecomment-533618429
 
 
   The array case actually cannot happen. The `switch` is invoked only from 
`deserialize`, which in turn is only valid to be invoked for cursor standing at 
`KEY_NAME` or `START_OBJECT`. So `END_ARRAY` can never happen. If it *does* 
happen, cursor was at invalid location when calling, hence it is more correct 
to throw exception than to return an empty array.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to