Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

twritejsonfield grouping automatically

I have a requirement to build the json output as below. Under components, it has to be in this order.  

Expected Ouput:

components {

    code {},

    value quantity{},

    code {},

    value quantity{},

    code {},

    value quantity{}

 

}

Below is my tWriteJSONField tree. 

0683p000009MA8H.png 

But the issue is that the fields 'code' and 'value quantity' are automatically grouping themselves into an array. can anyone please let me know how to avoid that auto grouping? 

Actual Output :

0683p000009MA8M.png

Appreciate the help!

Labels (3)
0 Replies