Hi,
I am trying to parse a response using the REST connector from an API which returns a JSONROWS-format where the first row contains the name of the columns, while the following rows contain the values.
The response is on the form:
{
"response":[
[
{"name":"test1"},
{"name":"test2"}
],
[
1,
2
],
[
3,
4
],
[
5,
6
]
]
}
I have tried several different xPath-configurations. The following gives the correct columns, but returns zero rows:
xPath: column:/response;columnname:/response.name;row:/response
I was hoping that at least this would have parsed all the values as strings with the first row containing the {“name”:”testN”} in the corresponding columns.
How do I work with this response?