Hello: I would like to POST a JSON array to a REST service
Something like
[
{
"name" : "xxxxx",
"value" : "111111"
},
{
"name" : "yyyyyy",
"value" : "222222"
}
]
I'm using CXF 2.7.8 + Jettison 1.3.5
I usually implement it by JAXB classes , but I don't get achieving it
If I try with a JSONArray
this.client.path("/test/").post(myJSONArray)
I get
No message body writer has been found for class : class
org.codehaus.jettison.json.JSONArray
Any idea ?
Thanks and regards
