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)