Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using talend to create json file from a database table.
Talend creates the file as below
[{"Col1":"Val1"},{"Col2":"Val2"},{"Col3":"Val3"}]
But I need the file to be in below format
{"Col1":"Val1"}
{"Col2":"Val2"}
{"Col3":"Val3"}
Because this is how its accepted in target.
Any way to make this work. I can use tWriteJSONField but I have to map it manually. There are multiple tables and I want to make this as a framework which can accept table names as context variable and produce the json in the above format. Any suggestions?