openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonWriter.java
public void writeBidResponse(BidResponse resp, Writer writer) throws IOException {
    JsonGenerator gen = factory().getJsonFactory().createGenerator(writer);
    writeBidResponse(resp, gen);
  }
public void writeBidResponse(BidResponse resp, Writer writer) throws IOException {
    JsonGenerator gen = factory().getJsonFactory().createGenerator(writer);
    writeBidResponse(resp, gen);
  }
Serializes a {@link BidResponse} to JSON, streamed to a {@link Writer}.

@see JsonFactory#createGenerator(Writer)