title: BodyInserters.fromObject is deprecated, what is the alternative?
body: <p>Helllo.
  I am trying to use Spring webclient to send post requests and fill the body with an object. But I receive the following &quot; 'fromObject(T)' is deprecate&quot;.
  What is the alternative then ?</p>
  <pre><code>WebClient.post()
              .uri(&quot;example.com&quot;)
              .body(BodyInserters.fromObject(newObject);
  </code></pre>