JSONRestReader#end() should skip remaining attributes/entries

If the current object has more unread attributes, or the current
array has more unread entries, JSONRestReader#end() should skip
them instead of failing with an IllegalStateException.

Change-Id: Ia132a3925a335f24063b606eb77d909dcb6b64dd
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
2 files changed