Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Extract Nodes Json File

hi, I'm trying to extract the nodes from a Json file to be able to insert them into a database, but I'm only getting error from Talend.

The json file is follow:

 

 

0683p000009M4sO.png

At the simple action for test in LogRow

0683p000009M4sT.png0683p000009M4p6.png0683p000009M4nj.png

 

Thank you for your answers.
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

For nested JSON files loop JSON Query should be "$.[*]" and Mapping columns should have "node name" as json query .

Please make changes to Mapping columns and Loop JSON Query in tFileInputJSON as mentioned in image. It worked for sample file provided.

 

 

 

0683p000009M4sd.png

 

Thanks,

Vinesh

 

 

 

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi,

For nested JSON files loop JSON Query should be "$.[*]" and Mapping columns should have "node name" as json query .

Please make changes to Mapping columns and Loop JSON Query in tFileInputJSON as mentioned in image. It worked for sample file provided.

 

 

 

0683p000009M4sd.png

 

Thanks,

Vinesh

 

 

 

Anonymous
Not applicable
Author

Perfect! thanks for this solution in my case have problem with java installation.

 

Now correct run, and I apply your implementation and the result is correct.

 

Regards.