Create new array using JSON results with javascript : <p>Hello I have the following JSON result. Its a small snippet from a large JSON file. Theres hundreds of entries.</p>

<pre><code>var jsonResult = [
    {
        "id": "1",
        "name": "one",
    },
    {
        "id": "2",
        "name": "two",
    },
    {
        "id": "3",
        "name": "three",
    }
]
</code></pre>

<p>I would like a way to loop through this data using javascript to create a new array stored in a variable that pulls just the ids. So the new array would look like this:</p>

<pre><code>data = [1, 2, 3];
</code></pre>

<p>If theres 1000 entries, then the array would go from 1-1000.</p>

<p>Thanks!</p>
