]
Ramesh Reddy commented on TEIIDDES-2457:
----------------------------------------
There is no XPATH like expression based language for JSON to pick values from documents.
That is reason the JSON documents are converted to XML then values are parsed
REST (JSON) Importer Doesn't Distinguish Between Object and
Array
-----------------------------------------------------------------
Key: TEIIDDES-2457
URL:
https://issues.jboss.org/browse/TEIIDDES-2457
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export, Web Services Support
Affects Versions: 9.0.1
Reporter: Ted Jones
Assignee: Barry LaFond
Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
When importing JSON arrays, we should parse with JSONArray, not JSONObject.
Example JSON:
http://jsonplaceholder.typicode.com/posts/1/comments