title: jquery get json with nested arrays
body: <p>I am working with a music player that need to get json value from a page dynamically the first thing i am struggling is the json is some thing like this</p>
  
  <pre><code>{"audios":[{"audio":{"name":"makakyala","audio":{"audio":{"url":"/uploads/audio    /audio/9/01_-_Makkayala_SouthSongs4u.com_.mp3"}}}},{"audio":{"name":"tahppellam","audio":{"audio":{"url":"/uploads/audio/audio/10/03_-_Thapellam_Thape_Illai_SouthSongs4u.com_.mp3"}}}},{"audio":{"name":"dinam dinam","audio":{"audio":{"url":"/uploads/audio/audio/11/04_-_Dinnam_Dinnam_SouthSongs4u.com_.mp3"}}}}]}
  </code></pre>
  
  <p>I need each audio array to be passed to  jquery and my jquery code is </p>
  
  <pre><code>$.getJSON("../albums/x.json",function(json){  
      $.each(json.audios,function(index, audio){
         $.each(audio, function(audio) {
          as=JSON.stringify(audio)
          alert(as)
          myPlaylist.add({title:$(this).attr("audio_name")}); 
       })
          })
       });
  </code></pre>
  
  <p>but its not working what is the problem with my code and how can i get each audio array form audios array ?</p>