title: how to convert string array JSON to be ArrayList in Kotlin?
body: <p>so I have this JSON in string format:</p>
  
  <pre><code>[
    "1.0",
    "1.1",
    "1.2"
  ]
  </code></pre>
  
  <p>but I need to convert it to ArrayList In Kotlin ? I have tried to find, but most of the answer are in Java. if using gson in Java maybe it will be like this. but I am a beginner and I failed to convert the code below to Kotlin</p>
  
  <pre><code>Gson gson = new GsonBuilder().create();
  ArrayList&lt;String&gt; theList = gson.fromJson(stringObject, new TypeToken&lt;ArrayList&lt;String&gt;&gt;(){}.getType())
  </code></pre>
  
  <p>what should I do to convert that json string to array list in Kotlin ?</p>