title: How to add an ID for each object inside JSON array in JavaScript?
body: <p>There are many objects in the JSON file that look like I have shown below. I want to give an index number starting from <code>0</code> for each of these objects. How can I do it?</p>
  <pre><code>[
    {
      &quot;language&quot;: &quot;Python&quot;,
      &quot;created&quot;: &quot;2018-8-27 14:50:31&quot;,
      &quot;evaluated&quot;: true,
      &quot;hiddenCode&quot;: false
    },
    ...
  ]
  </code></pre>