title: Adding numbers represented as strings in a JSON
body: <pre><code>var x = {jason: ["2", "5"], alice: ["12", "35"], samuel: ["32", "132"]}
  </code></pre>
  
  <p>I am trying to add the numbers for each key so I am doing </p>
  
  <pre><code>var out = 0;
      $.each(x, function (key, value) {
          out += key + ':';
          $.each(value, function (key, value) {
              out += parseInt(value, 10);
          });
  
      });
  
  console.log(out)
  </code></pre>
  
  <p>Here is my fiddle
  <a href="http://jsfiddle.net/sghoush1/1ezwwnm1/5/" rel="nofollow">http://jsfiddle.net/sghoush1/1ezwwnm1/5/</a></p>
  
  <p>It is adding them as strings. So instead of jason = 7 I am getting jason = 25 and so on
  Cant seem to figure out what am I doing wrong</p>