You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
]}}
but actual:
{"result":{"list":[
{"string":["aaa","bbb"],"long":[1,2]}
]}}
Jettison seems to auto-merge the elements with same type, which saves space, but is incorrect behaviour. The order of a list is important and needs to be kept.
The text was updated successfully, but these errors were encountered:
List results = new ArrayList();
results.add("aaa");
results.add(1L);
results.add("bbb");
results.add(2L);
expected result:
{"result":{"list":[
{"string":"aaa","long":1,"string":"bbb","long":2}
]}}
but actual:
{"result":{"list":[
{"string":["aaa","bbb"],"long":[1,2]}
]}}
Jettison seems to auto-merge the elements with same type, which saves space, but is incorrect behaviour. The order of a list is important and needs to be kept.
The text was updated successfully, but these errors were encountered: