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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

create complex json - twriteJSONFiled

Hi..
I'm having input excel file like this

 pd ;       ID;       code;            value
1 ; 1000 ; 10 ; 100
2 ; 1000 ; 20 ; 200


I want my table data in this json format.
ID
pd
code
value
I've tried using twriteJSONFiled component
inputexcel----> twriteJSONFiled--->tlogrow

getting like this
{"rootTag":{"ID":{"pd":{"code":"10","value":"100"}}}}


Why am not getting the ID and pd values ?


[color=#393318][size=2][font=Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif]
[/font][/size][/color]
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi,
How did you set your twriteJSONField component? Could you please post your setting screenshot into forum?

Best regards
Sabrina