title: Parse Nested objects and Array json in ios
body: <p>I am trying to parse such json in which use many arrays and object How to parse it.</p>
  
  <pre><code>[
      {
          "MusicData": [
              {
                  "user_music_id": "199",
                  "music_id": "2",
                  "music_name": "Country"
              },
              {
                  "user_music_id": "200",
                  "music_id": "2",
                  "music_name": "Country"
              }
          ]
      },
      {
          "SportData": [
              {
                  "user_sport_id": "179",
                  "sport_id": "4",
                  "sport_name": "Hockey"
              }
          ]
      },
      {
          "HobbyData": []
      },
      {
          "RelationData": []
      },
      {
          "MovieData": [
              {
                  "user_movie_id": "144",
                  "movie_id": "6",
                  "movie_name": "Drama"
              }
          ]
      },
      {
          "BookData": []
      },
      {
          "CarrerData": [
              {
                  "user_carrer_id": "186",
                  "carrer_id": "7",
                  "carrer_name": "Marketing"
              },
              {
                  "user_carrer_id": "187",
                  "carrer_id": "8",
                  "carrer_name": "Sales"
              }
          ]
      }
  ]
  </code></pre>
  
  <p>MyMusic is a Dictionary and It has Array that has many Index. </p>
  
  <p>How to parse its data one by one? using the label MyMusic, SportData etc.</p>
  
  <p>I am trying to parse CarrerData from this json using this the following code:</p>
  
  <pre><code>musicTemp._id = [NSString stringWithFormat:@"%@",[[[responseDict objectAtIndex:0] valueForKey:@"MusicData"] valueForKey:@"user_music_id"]];
  </code></pre>