public JsonReader endObject ( ) throws IOException { if ( currentValue . getKey ( ) != END_OBJECT ) { throw new IOException ( "Expecting END_OBJECT, but found " + jsonTokenToStructuredElement ( null ) ) ; } consume ( ) ; return this ; }
Ends the document