title: How to parse below Json data in Kotlin?
body: <p>I need to parse this information-</p>
  
  <pre><code>[
  {
      "artist": "12",
      "image": "23"
  },
  {
      "video_id": "12",
      "video_title": "23"
  },
  {
      "video_id": "12",
      "video_title": "23"
  },
  {
      "video_id": "12",
      "video_title": "23"
  },
  {
      "video_id": "12",
      "video_title": "23"
  },
  {
      "video_id": "12",
      "video_title": "23"
  }]
  </code></pre>
  
  <p>As you can see the first field is different, how to parse below information differently and the first field differently in Kotlin.</p>
  
  <p>I am parsing 1st part as-</p>
  
  <pre><code>response -&gt;
  
                  for (i in 0..(response.length() -1)){
  
                      /**
                          FIRST SONG
                       **/
                      val song = response.get(0).toString()
  
                      val listOfSongs = response.toString()
  
                      val parser = Parser()
                      val stringBuilder = StringBuilder(song)
                      val json: JsonObject = parser.parse(stringBuilder) as JsonObject
                      val firstArtist = json.string("artist")
                      val firstImage = json.string("image")
                      val intent = Intent(activity,ResultPage::class.java)
                      intent.putExtra("firstArtist",firstArtist)
                      intent.putExtra("firstImage",firstImage)
  
                      startActivity(intent)
                      /**
                          FIRST SONG
                      **/
  
  
                  }
              }
  </code></pre>
  
  <p>and am also using KLAXON library here.</p>