Setting dynamically an Object in JavaScript
<p>It seems complicated for me.
First, I have this list:</p>

<pre><code>    liste_path_categories.push(
    { index: null
        , letter: "letter1"
        , type: key
        , picture_url: "url1"
        , id_categ: null
        , response: "Answer here"
    });
</code></pre>

<p>What I want is to extract from this big list an object in this form:</p>

<pre><code>     data["String1"]["String2"]= String3
</code></pre>

<p>With : </p>

<pre><code>    String1=list_path_categories[i].letter
    String2=list_path_categories[i].id_categ
    String3=list_path_categories[i].response
</code></pre>

<p>example:</p>

<pre><code>     data['A']['12'] : "A_answer"
</code></pre>

<p>To declare the data i make this:</p>

<pre><code>       var data = new Object(new Object);
</code></pre>

<p>How I can set all the values in data?</p>
