<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trying to tExtractJSON from REST response, running into problem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298147#M70646</link>
    <description>I have a project where I have to make a rest call to first get an id , then use that id for a subsequent rest call&lt;BR /&gt;the best tutorial i found had it setup like so&lt;BR /&gt;tRestClient-&amp;gt;fileOutPutJSON(result.json) then FileInputJSON(result.json) -&amp;gt;ExtractJSONFields-&amp;gt;tRestClient2ndRequest&lt;BR /&gt;&lt;BR /&gt;issue is that tRestClient &amp;nbsp;response returns this&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;{"data":[{"string":"{ \"id\": \"180244\" }","body":null,"statusCode":200}]}&lt;/PRE&gt;&lt;BR /&gt;the curl call for this would return&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;{ "id": "180244" }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;and its the string that is not allowing me to parse out the data properly&lt;BR /&gt;&lt;BR /&gt;here is where I am getting a JSON parsing error...how can i parse that string i have above, seems like its a string ina &amp;nbsp;string</description>
    <pubDate>Sat, 16 Nov 2024 10:13:04 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T10:13:04Z</dc:date>
    <item>
      <title>Trying to tExtractJSON from REST response, running into problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298147#M70646</link>
      <description>I have a project where I have to make a rest call to first get an id , then use that id for a subsequent rest call&lt;BR /&gt;the best tutorial i found had it setup like so&lt;BR /&gt;tRestClient-&amp;gt;fileOutPutJSON(result.json) then FileInputJSON(result.json) -&amp;gt;ExtractJSONFields-&amp;gt;tRestClient2ndRequest&lt;BR /&gt;&lt;BR /&gt;issue is that tRestClient &amp;nbsp;response returns this&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;{"data":[{"string":"{ \"id\": \"180244\" }","body":null,"statusCode":200}]}&lt;/PRE&gt;&lt;BR /&gt;the curl call for this would return&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;{ "id": "180244" }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;and its the string that is not allowing me to parse out the data properly&lt;BR /&gt;&lt;BR /&gt;here is where I am getting a JSON parsing error...how can i parse that string i have above, seems like its a string ina &amp;nbsp;string</description>
      <pubDate>Sat, 16 Nov 2024 10:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298147#M70646</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T10:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to tExtractJSON from REST response, running into problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298148#M70647</link>
      <description>for some reason my images didnt post here they are 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG5I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146968i8867D4793EBF92C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG5I.png" alt="0683p000009MG5I.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG1b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152504i7AF7F3FAAE39CF43/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG1b.png" alt="0683p000009MG1b.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 08 Dec 2016 15:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298148#M70647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-08T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to tExtractJSON from REST response, running into problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298149#M70648</link>
      <description>First of all - You can save response &amp;nbsp;String in more correct form 
&lt;BR /&gt;if You plan use id for next tRESTClient call, You really do not need 2nd time extract column 
&lt;BR /&gt;tFileInputJSON already can extract it 
&lt;BR /&gt; 
&lt;BR /&gt;Id - "id" 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG5N.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135323i4146C83FB3CA064D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG5N.png" alt="0683p000009MG5N.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG5S.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149160iA8C4BBCEDD1DC83B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG5S.png" alt="0683p000009MG5S.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 08 Dec 2016 22:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trying-to-tExtractJSON-from-REST-response-running-into-problem/m-p/2298149#M70648</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-12-08T22:07:28Z</dc:date>
    </item>
  </channel>
</rss>

