XStream
  1. XStream
  2. XSTR-530

object_array vs object-array for the Jettison and Json Drivers

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Paul Hammant
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: