Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm working with a REST API that expect a JSON array as body. I've looked this https://help.qlik.com/talend/en-US/components/8.0/processing/twritejsonfield-tmap-trowgenerator-trow... from Qlik which explains how to transform several rows into an array of objects. Problem is it doesn't work with a single object, I expect [{"a": "b", "c": "d"}] but get {"loop": {"a": "b", "c": "d"}}
My tWriteJSON component is configured as the Qlik article suggest and I receive one row with loop = 'x'
What am I doing wrong ? It the article not working with one row ? How to have a solution which works with multiple and single row ?
Thanks.
Found an answer to my quesiton, Qlik article was indeed incomplete, adding attributes class = 'array' to the root tag does the trick.
Found an answer to my quesiton, Qlik article was indeed incomplete, adding attributes class = 'array' to the root tag does the trick.