openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonWriter.java
public String writeBidResponse(BidResponse resp) throws IOException {
    try (StringWriter writer = new StringWriter()) {
      writeBidResponse(resp, writer);
      return writer.toString();
    }
  }
public String writeBidResponse(BidResponse resp) throws IOException {
    try (StringWriter writer = new StringWriter()) {
      writeBidResponse(resp, writer);
      return writer.toString();
    }
  }
public String writeBidResponse ( BidResponse resp ) throws IOException { try ( StringWriter writer = new StringWriter ( ) ) { writeBidResponse ( resp , writer ) ; return writer . toString ( ) ; } }
Serializes a {@link BidResponse} to JSON, returned as a {@link String}.
Serializes a {