title: How to copy keys and values from one object to another without copying the values
body: <p>I have 2 objects</p>
  
  <pre><code>json1 = {
      "name": "padd",
      "value": "1",
      "parentName": "",
      "parentValue": "",
      "children": [],
      "canDisplay": true,
      "showRecord": true
  }
  
  json2 = {
      "name": "note",
      "value": "1",
      "parentName": "",
      "parentValue": "",
      "children": [{
          "name": "padd",
          "value": "1",
          "parentName": "",
          "parentValue": "",
          "children": [],
          "canDisplay": true,
          "showRecord": true
      }],
      "canDisplay": true,
      "showRecord": true
  }
  </code></pre>
  
  <p>The keys which are missing in <code>json1</code> should be added from <code>json2</code> and also the values of the keys which are matching in <code>json1</code> and <code>json2</code> should not be replaced from <code>json2</code> to <code>json1</code>.</p>