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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Converting JSON file into CSV flat file.

Hello, I'm quite new in developing in Talend and I'm facing a challenge to transform (flatten) a JSON file coming from Facebook Ad Insights into a CSV flat file. Attached the JSON file: as far as I understand the column "RelevanceScore" has a CRLF and data between { and } appears on different lines rather than appearing on a single line. We need to transform this file to get one line per master record (so no CRLF for "RelevanceScore"). Can you please assist me with the creation of the job ?

Thanks a lot

Fabien 

Labels (1)
1 Reply
Anonymous
Not applicable
Author

Hi,

Wha does your expected result look like? Here is a tExtractJsonField component which extracts the desired data from incoming JSON fields based on the XPath or JSONPath query.

Best regards
Sabrina