Six 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?

1 ACCEPTED SOLUTION

Accepted Solutions
Six 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
5 REPLIES
Seven 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

Six Stars

Re: Convert RAW data reponse to JSON

responses.JPG

Six 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.

Seven 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
Six 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