Hello,
I am having a problem when trying to get the json of an array of just one
element, the response its an Object instead of an array which it confuses
the client side.
more than one element works properly:
{
"Person": [
{
"first": "foo",
"last": "bar"
},
{
"first": "foo2",
"last": "bar2"
}
]
}
But one element array..
{
"Person": {
"first": "foo",
"last": "bar"
}
}
It is returning an single object instead of a single objected array.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Possible-bug-in-Json-unmarshalling-array-singleton-list-tp4660733.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.