Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Compatibility
-
Labels:None
Description
Deserializing a JSON made by XStream can be problematic if there are
arrays in the object in question
XStream makes a node object-array which is valid XML but not valid
JavaScript
Refer - http://www.codelifter.com/main/tips/tip_020.shtml
Can we have XStream make object_array instead for the Jettison and
Json drivers ?
Patch included. It might not be ideal, but it fixes the scenario. At least for serializing.
Patch removed, it was not sufficient.