You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since non-blocking parser may not have enough content to successfully skip enough content to support skipChildren(), nor has any means to preserve or return enough state to allow caller to retry after content, it should indicate its inability to skip by throwing a JsonParseException.
Although it would be possible to throw this (or UnsupportedOperationException) for all calls, it may make more sense to only do this in cases operation can not succeed; and make it work if it can.
The text was updated successfully, but these errors were encountered:
(note: see #462 as background)
Since non-blocking parser may not have enough content to successfully skip enough content to support
skipChildren()
, nor has any means to preserve or return enough state to allow caller to retry after content, it should indicate its inability to skip by throwing aJsonParseException
.Although it would be possible to throw this (or
UnsupportedOperationException
) for all calls, it may make more sense to only do this in cases operation can not succeed; and make it work if it can.The text was updated successfully, but these errors were encountered: