code: public static HttpResponse fromObject(HttpHeaders headers, @Nullable Object content,
                                            HttpHeaders trailingHeaders, ObjectMapper mapper) {
          requireNonNull(headers, "headers");
          requireNonNull(trailingHeaders, "trailingHeaders");
          requireNonNull(mapper, "mapper");
          return HttpResponse.of(sanitizeHeaders(headers), toHttpData(mapper, content), trailingHeaders);
      }
docs: Creates a new JSON Text Sequences of the specified {@code content}.
  
  @param headers the HTTP headers supposed to send
  @param content the object supposed to send as contents
  @param trailingHeaders the trailing HTTP headers supposed to send
  @param mapper the mapper which converts the content object into JSON Text Sequences