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

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