Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3604

jsontoxml produces wrong result with nested multi-dimensional arrays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.12, 8.11.2
    • 8.4
    • Query Engine
    • None

    Description

      A json doc with a multi-dimensional array below the root level will have its elements flattened rather than nested in the xml. For example:

      {foo : [[1,2],[3,4]]}

      is producing 1,2,3,4 as siblings rather than nested as:

      <foo>
      <foo>1</foo>
      <foo>2</foo>
      </foo>
      <foo>
      <foo>3</foo>
      <foo>4</foo>
      </foo>

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: