Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Karuetl
Creator II
Creator II

Help on JSON file extra , doesn't fetch all rows

I have json file as below, Need help to read below data and load into CSV file,it doesn't fetch all the columns but only the first row 

 

tfileinputJson component i used

 

screenshot.png'

 

Labels (4)
5 Replies
vboppudi
Partner - Creator III
Partner - Creator III

Hi,

 

Do you have any specific logic for extra columns in target table? If yes you can implement that logic in tmap and connec new attributes to target.

 

Regards,

Karuetl
Creator II
Creator II
Author

issue is when read json file its not fetching all rows , except first one 

 

vboppudi
Partner - Creator III
Partner - Creator III

That means you are using incorrect json structure or while importing json defined it as wrongly.

If possible can you please share complete json structure you are using as source?

 

Regards,

 

Anonymous
Not applicable

Hi,

Json mentioned in image is not in right format. It should be something like [{“id”:34,”name”:”abc”,”location”:00743},{“id”:3,”name”:”EFG”,”location”:08865}] to iterate, extract both and load into CSV.

Please let me know if you need any other information.

Thanks
Vinesh
nfz11
Creator III
Creator III

Please show us the details of your Loop Json query and Json mappings from your tfileinputjson in a screenshot or text.