为什么这段代码会导致错误
import org.json4s.native.JsonMethods._
import org.json4s._
object Application extends App {
implicit val formats = DefaultFormats
val js = JString("120.0")
val d = js.extract[Double]
println(d)
}
它说Exception in thread "main" org.json4s.package$MappingException: Do not know how to convert JString(120.0) into double