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