title: Merge JSON Object with same "key" and add their "value" using JavaScript
body: <p>My JSON looks like this</p>
  
  <pre><code>{"rows":[
      {"key":["zeit.de"],"value":98},
      {"key":["google.com"],"value":49},
      {"key":["spiegel.de"],"value":20},
      {"key":["spiegel.de"],"value":12},
      {"key":["spiegel.de"],"value":20},
      {"key":["spiegel.de"],"value":12},
      {"key":["netmng.com"],"value":49},
      {"key":["zeit.de"],"value":300}
  ]}
  </code></pre>
  
  <p>and I am looking for a solution to merge all the same keys and add the values of the merged keys together to get something looking like this.</p>
  
  <pre><code>{"rows":[
      {"key":["zeit.de"],"value":398},
      {"key":["google.com"],"value":49},
      {"key":["spiegel.de"],"value":54},
      {"key":["netmng.com"],"value":49}
  ]}
  </code></pre>
  
  <p>Thanks for answersing.</p>