title: System.Text.Json Merge two objects
body: <p>Is it possible to merge two json objects like this with <code>System.Text.Json?</code></p>
  
  <p><strong>Object 1</strong></p>
  
  <pre><code>{
     id: 1
     william: "shakespeare"
  }
  </code></pre>
  
  <p><strong>Object 2</strong></p>
  
  <pre><code>{
     william: "dafoe"
     foo: "bar"
  }
  </code></pre>
  
  <p><strong>Result Object</strong></p>
  
  <pre><code>{
      id: 1
      william: "dafoe"
      foo: "bar"
  }
  </code></pre>
  
  <p>I am able to achieve it with newtonsoft.json like this</p>
  
  <pre><code>var obj1 = JObject.Parse(obj1String);
  var obj2 = JObject.Parse(obj2String);
  
  obj1.Merge(obj2);
  result = settings.ToString();
  </code></pre>
  
  <p>But is there a way with <code>System.Text.Json</code>?</p>