Running a Play! app with Scala. I\'m doing a request where the response is expected to be a JSON string. When checking the debugger, the JsonElement returns OK with all info
Maybe your JsonElement is a JsonNull
JsonElement
JsonNull
What you could do is to first check that it isn't by using json.isJsonNull
json.isJsonNull
Otherwise, try to get its String representation with json.toString
json.toString