JSON.parse : why this doesn't work
<p>I got a JSON :</p>

<pre><code>$.ajax({
        type: "POST",
        url: myUrl,
        success: function (result) {
             var data = JSON.parse(result);
             for (var i = 0; i &lt; data.poles.length; i++) {
             ....
</code></pre>

<p>What i see in debugger is that :</p>

<pre><code>data = "{"poles":[{"id":36,"name":"AUVERGNE"},{"id":44,"name":"Alsace"},{"id":42,"name":"Artois"},....],"poleNumber":48}
</code></pre>

<p>But i get a message saying that data.poles is not defined</p>

<p>What do i miss?</p>