Syntax for parsing the Nth item from JSON array using JQuery
<p>I've seen many JQuery examples that make use of $.each to loop through a JSON array.  However, what need to do is individually grab items 0 - 3 and pass them to another function called "Search".  Here's what I've come up with.</p>

<pre><code>        $.getJSON("http://localhost:61741/binggame/play?cat=Body%20Parts", {
        tags: "English",
        tagmode: "any",
        format: "json"

    },


function (data) {

    Search(data.items[0], "Box1_Image");
    Search(data.items[1], "Box2_Image");
    Search(data.items[2], "Box3_Image");
    Search(data.items[3], "Box4_Image");
});
</code></pre>

<p>I'm fairly certain that data.items[] is not the correct syntax.</p>

<p>Here's a sample of my JSON:</p>

<pre><code>{"nouns":[
    {
        "ID":26,
        "Category":"Body Parts",
        "English":"muscle",
        "Pinyin":"gei yUk",
        "Image1":null,
        "Audio1":null
    },
    {
        "ID":27,
        "Category":"Body Parts",
        "English":"neck",
        "Pinyin":"gen",
        "Image1":null,
        "Audio1":null
    },
    {
        "ID":28,
        "Category":"Body Parts",
        "English":"nose",
        "Pinyin":"bei",
        "Image1":null,
        "Audio1":null
    },
    {
        "ID":29,
        "Category":"Body Parts",
        "English":"rib",
        "Pinyin":"lat gwt",
        "Image1":null,
        "Audio1":null
    }
]}
</code></pre>

<p>For this sample, the value of data.items[0] should be "muscle", data.items[1] should be "neck", data.items[2] should be "nose" and data.items[3] should be "rib".</p>

<p>Can someone point out to me what I've done wrong?</p>
