[resolved] tExtractJSONFields Configuration

One Star

[resolved] tExtractJSONFields Configuration

Hi All,
I'm having trouble configuring the tExtractJSONFields component for some very simple JSON outputs and I'm hoping someone can tell me where I'm going wrong.
JSON Output is:
{"access_token":"123456789","token_type":"bearer","expires_in":3599}
Talend component in the screenshot below, however this does not give any output.

Similarly, I have another JSON output:

Talend config in screenshot below, which produces nothing.

I haven't had a lot of JSON experience in Talend so I'm not sure where I'm going wrong.
Thanks,
Rob

Accepted Solutions
One Star

Re: [resolved] tExtractJSONFields Configuration

I found the problem, I was passing the "body" document output from the tRESTClient rather than the "string" output. Otherwise, the configuration was ok.

All Replies
One Star

Re: [resolved] tExtractJSONFields Configuration

I found the problem, I was passing the "body" document output from the tRESTClient rather than the "string" output. Otherwise, the configuration was ok.