Convert RAW data reponse to JSON

Seven Stars

Convert RAW data reponse to JSON

 

I have created a Talend job to Get response from an API. When I am running the job in response I am getting RAW data. 

I have check also in one rest client PostMan where I am able to see the response in JSON format which is expectedtalendjob.JPG.

 

How should I get the response from Talend in JSON format?


Accepted Solutions
Seven Stars

Re: Convert RAW data reponse to JSON

Thanks for you reply. The issue was from API. The developer has updated the API now response is coming in proper JSON.
Thanks

All Replies
Eight Stars

Re: Convert RAW data reponse to JSON

Hello,

 

Can you place here an example of data you receiving from the API?

Also, if you type "json" into palette search field, you will see several JSON components you can use.

 

Regards

Lojdr

Highlighted
Seven Stars

Re: Convert RAW data reponse to JSON

responses.JPG

Seven Stars

Re: Convert RAW data reponse to JSON

 I have selected Accept Type as the auto from the pallet. I get error If I select JSON from the pallet.

Eight Stars

Re: Convert RAW data reponse to JSON

Hi,

can you please paste it here as a text file? The screenshot is not well formated and readable.

Thank you
Lojdr
Seven Stars

Re: Convert RAW data reponse to JSON

Thanks for you reply. The issue was from API. The developer has updated the API now response is coming in proper JSON.
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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

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