How to append two or more JSON outputs

Highlighted
Five Stars

How to append two or more JSON outputs

Help! I have two (and will have more) Talend jobs with json outputs, I want to join these outputs into one JSON. One is a flat JSON, the other is an array. One is a patient with vitals, the other is data about the drugs they are currently taking, see pictures. How do I go about joining these two outputs? appendquestion.jpgappendquestion2.jpg

Thank you very much!!!

M.

Eight Stars

Re: How to append two or more JSON outputs

The tWriteJsonField component seems a little lacking on features while working with complex json objects. I have tried using a custom Talend Component "tJSONDoc" (https://github.com/jlolling/talendcomp_tJSONDoc)

The documentation can be a little confusing in the beginning. But, it can handle creating/ merging documents.

HTH.

Thanks

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

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now