I am using Apache CXF framework for webservice functionality. I am sending
Json request as below
{
"MyData":{
"name":"map data",
"data":{
"a1": "b1",
"a2": "b2"
}
}
}
Converting it to java HashMap gives null value.
When i am sending as this
{
"MyData":{
"name":"map data",
"data":{
"entry":[
{
"key":"a1",
"value":"b1"
},
{
"key":"a2",
"value":"b2"
}
]
}
}
}
Value gets stored in my HashMap. But i want to send the request in the first
format. I am using CXF 3.2 and Jettision 1.9 jar.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Map-from-CXF-JAX-RS-with-name-value-formatting-tp5777811.html
Sent from the cxf-user mailing list archive at Nabble.com.