title: How do i convert a JArray[String] to Scala List
body: <p>I am struggling to convert a Jarray[JString] to  Scala List[String]</p>
  <pre><code>scala&gt; (configMap \ &quot;orderedCols&quot;).extract[JArray]
    res27: org.json4s.JArray = JArray(List(JString(id), JString(name)))
  
   scala&gt; (configMap \ &quot;orderedCols&quot;).extract[JArray].toList
   &lt;console&gt;:40: error: value toList is not a member of org.json4s.JArray
     (configMap \ &quot;orderedCols&quot;).extract[JArray].toList
  </code></pre>
  <p>Can someone help me
  ^
  Expected output : List(&quot;id&quot;,&quot;name&quot;)</p>