code: func MarshalToHTTPResponseWriter(v Marshaler, w http.ResponseWriter) (started bool, written int, err error) {
  	jw := jwriter.Writer{}
  	v.MarshalEasyJSON(&jw)
  	if jw.Error != nil {
  		return false, 0, jw.Error
  	}
  	w.Header().Set("Content-Type", "application/json")
  	w.Header().Set("Content-Length", strconv.Itoa(jw.Size()))
  
  	started = true
  	written, err = jw.DumpTo(w)
  	return
  }
docs: // MarshalToHTTPResponseWriter sets Content-Length and Content-Type headers for the
  // http.ResponseWriter, and send the data to the writer. started will be equal to
  // false if an error occurred before any http.ResponseWriter methods were actually
  // invoked (in this case a 500 reply is possible).