XStream
  1. XStream
  2. XSTR-525

JSON mall-format with JsonHierarchicalStreamDriver

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3.1
    • Component/s: IO
    • Labels:
      None
    • JDK version and platform:
      1.6 windows

      Description

      the json output is not valid
      see xml output for comparition

      The output of json

      {"org.ave7.core.model.forum.ForumAttachment": {
      "id": 3,
      "fileName": "!ave7_allo_mo2.rar",
      "fileSize": 7859,
      "userId": 12,
      "uploadTime":

      { "@class": "sql-timestamp""2006-03-07 21:08:31.0"}

      ,
      "suffix": "rar"
      }}

      the output xml

      <org.ave7.core.model.forum.ForumAttachment>
      <id>3</id>
      <fileName>!ave7_allo_mo2.rar</fileName>
      <fileSize>7859</fileSize>
      <userId>12</userId>
      <uploadTime class="sql-timestamp">2006-03-07 21:08:31.0</uploadTime>
      <suffix>rar</suffix>
      </org.ave7.core.model.forum.ForumAttachment>

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Ryan X.Wong
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: