title: How can I merge two complex JSON objects with only unique or different values only showing in resultant array
body: <p>If I had two complex JSON objects like:</p>
  
  <pre><code>{
   "name": "foo",
   "class": "top",
   "plop": {"class4": "A", "class3": "C", "class2": "B"}
  }
  </code></pre>
  
  <p>And</p>
  
  <pre><code>{
   "name": "foo",
   "clank": "poop",
   "class": "flop",
   "plop": {"class4": "A", "class3": "A", "class2": "B"}
  }
  </code></pre>
  
  <p>How could I merge them such that only unique or different values are in the resultant object? Like so:</p>
  
  <pre><code>{
   "clank": "poop",
   "class": "flop",
   "plop": {"class3": "A"}
  }
  </code></pre>