Comment sérialiser une Carte en JSON dans Scala?

J'ai donc une Carte à la Scala comme ceci:

val m = Map[String, String](
    "a" -> "theA",
    "b" -> "theB",
    "c" -> "theC",
    "d" -> "theD",
    "e" -> "theE"
)

et je tiens à sérialiser cette structure dans une chaîne JSON à l'aide de l'ascenseur-json.

Un sait comment faire cela?

InformationsquelleAutor Jay Taylor | 2011-06-07