Hi Günter,
2. I'm getting a full Object (but I dont know, if its the raw JSON-Object
like above), but I am not able, to parse it, to get a list in html.
Could you share the result of your response with us (possibly shortened)?
It would be interesting to learn something about the type of the response body. What do you get if you inspect:type($response[2]) ?
let $data := json:parse($input, map { 'format': 'xquery' })
return map:for-each($data, function($k, $v) {
$k || ': ' || string-join($v, ', ')
})
If you use json:parse($input) without a specific format, you’ll get an XML representation of the JSON data, which is usually simpler to postprocess.
Hope this helps Christian