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