title: How to set JsonSerializer default settings globally
body: <p>For <code>System.Text.Json.JsonSerializer</code>, I have to set the options every time I serialize or deserialize or have to set attributes on every property of the object, due to lack of a way to set/change the default settings. At least I am not able to find one.</p>
  
  <pre><code>JsonSerializer.Deserialize&lt;TypeListDTO&gt;(
      "{\"listNo\":33}", 
      new JsonSerializerOptions() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase});
  </code></pre>
  
  <p>Is there such a way available? If not, is there a workaround available?</p>
  
  <p><strong>EDIT: I am using .Net Core 3 with Endpoint Routing. But could very well not be using it at all.</strong></p>