contains
like functionality for play.api.libs.json.Json
val data=Map("id" -> "240190", "password" -> "password","email" -> "[email protected]")
data.contains("email")//true
val info=Json.obj("id" -> "240190", "password" -> "password","email" -> "[email protected]")
now how to check info
contains email
or not?
keys
yields aSet
. – Palliative