score:2

Accepted answer

this is how you do it for play 2.1 (documentation)

val dbo = mongodbobject("id" -> "0001", "name" -> "kevin", "age" -> "100") 
val json: jsvalue = json.parse(dbo.tostring)

Related Query

More Query from same tag