public JsonReader beginObject ( String expectedName ) throws IOException { String name = beginObject ( ) ; if ( ! StringUtils . isNullOrBlank ( expectedName ) && ! name . equals ( expectedName ) ) { throw new IOException ( "Expected " + expectedName ) ; } return this ; }
Begins an object with an expected name .