Yes, you can add a new field using the "+" method. Note that the object is immutable, so this will create a new copy of JsObject with the field added:
val obj = Json.obj()
// obj - {}
val newObj = obj + ("name" -> JsString("Kip"))
// newObj - {"name":"Kip"}
source
share