openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java
public static void startArray(JsonParser par) throws IOException {
    JsonToken token = par.getCurrentToken();
    if (token == null || token == JsonToken.FIELD_NAME) {
      token = par.nextToken();
    }
    if (token == JsonToken.START_ARRAY) {
      par.nextToken();
    } else {
      throw new JsonParseException(par, "Expected start of array");
    }
  }
public static void startArray(JsonParser par) throws IOException {
    JsonToken token = par.getCurrentToken();
    if (token == null || token == JsonToken.FIELD_NAME) {
      token = par.nextToken();
    }
    if (token == JsonToken.START_ARRAY) {
      par.nextToken();
    } else {
      throw new JsonParseException(par, "Expected start of array");
    }
  }
public static void startArray ( JsonParser par ) throws IOException { JsonToken token = par . getCurrentToken ( ) ; if ( token == null || token == JsonToken . FIELD_NAME ) { token = par . nextToken ( ) ; } if ( token == JsonToken . START_ARRAY ) { par . nextToken ( ) ; } else { throw new JsonParseException ( par , "Expected start of array" ) ; } }
Starts an Array, skipping the '[' token, and if necessary a field name before it.
Starts an Array skipping the [ token and if necessary a field name before it .