openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonWriter.java
public final void writeBidRequest(BidRequest req, JsonGenerator gen) throws IOException {
    gen.writeStartObject();
    writeBidRequestFields(req, gen);
    writeExtensions(req, gen);
    gen.writeEndObject();
    gen.flush();
  }
public final void writeBidRequest(BidRequest req, JsonGenerator gen) throws IOException {
    gen.writeStartObject();
    writeBidRequestFields(req, gen);
    writeExtensions(req, gen);
    gen.writeEndObject();
    gen.flush();
  }
public final void writeBidRequest ( BidRequest req , JsonGenerator gen ) throws IOException { gen . writeStartObject ( ) ; writeBidRequestFields ( req , gen ) ; writeExtensions ( req , gen ) ; gen . writeEndObject ( ) ; gen . flush ( ) ; }
Serializes a {@link BidRequest} to JSON, with a provided {@link JsonGenerator}
which allows several choices of output and encoding.
Serializes a {