Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 12, 2022 8:31:46 AM
May 14, 2019 10:03:51 AM
When using Qlik REST connector to load data from API sources that return JSON or XML response, sometimes a huge data model with many tables is returned although the response contains only a single table.
For example, the following JSON message is parsed into 5 single-row tables instead of one table with 5 rows:
Environment:
The JSON response has a "nested" structure, i.e each data record is stored as a separated JSON object, which is not member of an array.
Qlik REST connector applies a standard strategy for parsing JSON response:
As a result, nested JSON response is parsed as multiple tables instead of a single flat table. You can find the same strategy in other JSON parsing tool, such as http://json2table.com/.
The same logic applies to nested XML responses.
Qlik REST connector does not yet support loading JSON/ XML responses with nested structure. There is an ongoing improvement request to support this structure in future releases of the connector.
Meanwhile, please consider the following work-around solution:
"Qlik REST connector does not yet support loading JSON/ XML responses with nested structure. There is an ongoing improvement request to support this structure in future releases of the connector."
Is this ever going to be fixed in the REST connector?
2 years ago allready that the connector would be enhanced, and yet still the same.
Hello @p_verkooijen
If none already exists (I checked and couldn't immediately find one) I would recommend logging a Feature Request/Idea and linking it back to this article. This will help our developers understand the need for it by our customer base.
All the best,
Sonja