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.
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?