Read JSON File

Highlighted
Four Stars

Read JSON File

Hi, 

 

i can't find any solution for this case, so maybe the community can help me with my problem. 

 

I am trying to import a Json File and Export it to a csv.

 

My problem is that I am not able to extract the information:

 

Here is an Example:

 

{"Test_Recieved":{"KN552":"2022-07-19","KN5524":"2016-07-01","KN55244":"2018-07-17","KN455":"2018-07-09","KN4432":"2018-08-01"}}

 

Could you please help me to extract the information for my csv file e.g

 

ID  | Date

KN552 |2022-07-19

...|.....

 

Best regards!

 

nuglo

Highlighted
Forteen Stars

Re: Read JSON File

search is often help Smiley Happy

 

https://community.talend.com/t5/Design-and-Development/Unable-to-parse-JSON-quot-name-quot-using-tEx...

 

 

after prepare list of keys you just need iterate over all and extract values for each key

-----------

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog