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

@see JsonFactory#createGenerator(OutputStream)
Serializes a { @link BidResponse } to JSON streamed to a { @link OutputStream } .