Currently I'm receiving the following JSON data in my action:
[
{ "civilStatus": "M" },
"and",
{ "familySize": "2|bw|4" },
"or",
{ "civilStatus": "D" }
]
I've been trying to use play.libs.Json
to parse the string I receive at the server, but I can't find a way to obtain the array nor the objects.
I have also looked at the org.codehaus.jackson.JsonNode
documentation, but I didn't figure any way. Also I'm using Java, not Scala.