title: Merge and compare with in JSON objects
body: <p>I want to perform merging and comparing objects inside in the JSON.</p>
  
  <pre><code>StudentJson:[
  { name : "harish",
    empid: "323234",
    exams: "central"
  },
  { name : "harish",
    empid: "323234",
    week41: "30",
    week42: "20",
  },
  { name : "harish",
    empid: "323234",
    week47: "47",
    week50: "86",
  },
  { name : "harish",
    empid: "323234",
    week51: "67",
    week52: "90",
  },
  { name : "kishore",
    empid: "783433",
    exams: "state"
  },
  { name : "kishore",
    empid: "783433",
    week20: "23",
    week23: "56",
  },
  { name : "kishore",
    empid: "323234",
    week30: "75",
    week38: "73",
  },
  { name : "kishore",
    empid: "323234",
    week40: "23",
    week41: "86",
  },... 
  ]
  </code></pre>
  
  <p>Expected Json output:</p>
  
  <pre><code>StudentJson:[
  { name : "harish",
    empid: "323234",
    exams: "central",
    week41: "30",
    week42: "20",
    week47: "47",
    week50: "86",
    week51: "67",
    week52: "90"
  },
  { name : "kishore",
    empid: "783433",
    exams: "state",
    week20: "23",
    week23: "56",
    week30: "75",
    week38: "73",
    week40: "23",
    week41: "86"
  }
  ]
  </code></pre>
  
  <p>Kindly help me to implement in basic JavaScript program.</p>