Json file having multiple arrays in diff columns

Five Stars gpr
Five Stars

Json file having multiple arrays in diff columns

I am having json file having diffrent arrays. When i use texttractjsonfileds component output came as below

hub|[1,2]|[100,500].

 

Actually i have to convert my data like

 

hub 1 100

hub 2 500

 

 

Please help me in this

Moderator

Re: Json file having multiple arrays in diff columns

Hello,

How did you fill tExtractJSONfields? Your JSON Query for each column?

If you are extracting a simple array, please try to configure the input json in tfileinputjaon component and use tnormalize component to split the rows

tfileinputjson-->tnormalize-->tlogrow.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch 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