openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonReader.java
public final BidResponse.Builder readBidResponse(JsonParser par) throws IOException {
    if (emptyToNull(par)) {
      return null;
    }
    BidResponse.Builder resp = BidResponse.newBuilder();
    for (startObject(par); endObject(par); par.nextToken()) {
      String fieldName = getCurrentName(par);
      if (par.nextToken() != JsonToken.VALUE_NULL) {
        readBidResponseField(par, resp, fieldName);
      }
    }
    return resp;
  }
public final BidResponse.Builder readBidResponse(JsonParser par) throws IOException {
    if (emptyToNull(par)) {
      return null;
    }
    BidResponse.Builder resp = BidResponse.newBuilder();
    for (startObject(par); endObject(par); par.nextToken()) {
      String fieldName = getCurrentName(par);
      if (par.nextToken() != JsonToken.VALUE_NULL) {
        readBidResponseField(par, resp, fieldName);
      }
    }
    return resp;
  }
Desserializes a {@link BidResponse} from JSON, with a provided {@link JsonParser}
which allows several choices of input and encoding.