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

jsontoxml produces wrong result with nested multi-dimensional arrays

XMLWordPrintable

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

      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>

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

                Created:
                Updated:
                Resolved: