code: public JsonReader beginObject(String expectedName) throws IOException {
        String name = beginObject();
        if (!StringUtils.isNullOrBlank(expectedName) && !name.equals(expectedName)) {
           throw new IOException("Expected " + expectedName);
        }
        return this;
     }
docs: Begins an object with an expected name.
  
  @param expectedName The name that the next object should have
  @return the structured reader
  @throws IOException Something happened reading or the expected name was not found