REST API with JSON key
![atsuk09221](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar10.png)
atsuk09221
Dataiku DSS Core Designer, Registered Posts: 3 ✭✭✭
Hello
So, I was implementing REST API by following this documentation. When i tried to retrieve data from a dataset in JSON format. I am expecting the returned data shown with the following JSON format :
{
data1: 'a',
data2: 'b'
},
{
data1: 'c',
data2: 'd'
}
But instead, i got this :
[[a,b],[c,d]]
Is there any workaround for this issue?
Thank you
Operating system used: Windows 10
Tagged:
Answers
-
CoreyS Dataiker Alumni, Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Registered Posts: 1,150 ✭✭✭✭✭✭✭✭✭
Hi, @atsuk09221
for the purpose of knowledge sharing we are sharing here what was shared in the support ticket:The behavior you are seeing is expected and consistent with our documentation https://doc.dataiku.com/dss/api/11.0/rest/#datasets-dataset-data-get. As stated here the output of the GET dataset data is an array of arrays:
In the future, we kindly ask that you prioritize one platform for support-related issues per support request. More information can be found here