]
Steven Hawkins resolved TEIID-3604.
-----------------------------------
Resolution: Done
Updated the logic to work below the root as well.
This should be considered for 8.7.x as well.
jsontoxml produces wrong result with nested multi-dimensional arrays
--------------------------------------------------------------------
Key: TEIID-3604
URL:
https://issues.jboss.org/browse/TEIID-3604
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.4
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.12, 8.11.2
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>