title: Json Parse for an Integer as the key in Javascript
body: <p>I have searched for almost 2hrs now but cannot find anyone using an integer as the key. My json object looks like:</p>
  <pre><code>{&quot;342227492064425&quot;:
      {&quot;added&quot;:&quot;2020-10-04T23:02:28.030432&quot;,
       &quot;listed&quot;:&quot;2020-10-04T23:02:28.030432&quot;,
       &quot;subscribed&quot;:&quot;2020-10-04T23:02:28.030432&quot;},
  &quot;342731155590705&quot;:
      {&quot;added&quot;:&quot;2020-10-04T23:02:28.030432&quot;,
       &quot;listed&quot;:&quot;2020-10-04T23:02:28.030432&quot;,
       &quot;subscribed&quot;:&quot;2020-10-04T23:02:28.030432&quot;}
  }
  </code></pre>
  <p>How do I parse this?? I tried using data.map and using a for loop (data.length) but all in vain. Please help.</p>
  <p>My attempt:</p>
  <pre><code>fetch(url).then((response)=&gt;{
          return response.json();
      }).then((data)=&gt;{
      for(var i = 0; i &lt; data.length; i++) {
          subscription += data[i].subscribed
          //data.length doesn't work
      }
  }
  </code></pre>
  <p>Edit: I want to use it in my HTML code. Also I do not know how many numbers will come in the json file so I want to output a map which I can use like: data[0].susbcribed. Here I want to know how much length it will take for the var i.</p>