<?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 Extracting data from a Json array (collection) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216415#M12421</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I haven't yet found a way to extract the data given by my tREST component.&lt;/P&gt; 
&lt;P&gt;Here's the scenario :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture du 2019-01-24 14-26-21.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M257.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137081i7F7D8924202089E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M257.png" alt="0683p000009M257.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;My data is a JSON array like :&lt;/P&gt; 
&lt;PRE&gt;[&lt;BR /&gt;{"@id":201215,"link":{"@rel":"self","@href":"\/api\/groupe\/201215"},"libelle":"test \u00e0 moi 46546846","abrege":"test_dependances_2","entites":"Personne","description":null},&lt;BR /&gt;{"@id":201219,"link":{"@rel":"self","@href":"\/api\/groupe\/201219"},"libelle":"test \u00e0 moi 46546846","abrege":"test_dependances_2","entites":"Personne","description":null}&lt;BR /&gt;]&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;The tExtractJSONfields is filled that way :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture du 2019-01-24 14-29-40.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Zu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129337i161AE5756A163A95/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Zu.png" alt="0683p000009M2Zu.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I can't seem to obtain the response I wish for.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I checked with a tlogRow immediately after the tREST component and the answer is correct so far.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do you have any idea what's wrong with my reasoning ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your suggestions and help !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ema&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 13:34:58 GMT</pubDate>
    <dc:creator>Ema_fr</dc:creator>
    <dc:date>2019-01-24T13:34:58Z</dc:date>
    <item>
      <title>Extracting data from a Json array (collection)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216415#M12421</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I haven't yet found a way to extract the data given by my tREST component.&lt;/P&gt; 
&lt;P&gt;Here's the scenario :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture du 2019-01-24 14-26-21.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M257.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137081i7F7D8924202089E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M257.png" alt="0683p000009M257.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;My data is a JSON array like :&lt;/P&gt; 
&lt;PRE&gt;[&lt;BR /&gt;{"@id":201215,"link":{"@rel":"self","@href":"\/api\/groupe\/201215"},"libelle":"test \u00e0 moi 46546846","abrege":"test_dependances_2","entites":"Personne","description":null},&lt;BR /&gt;{"@id":201219,"link":{"@rel":"self","@href":"\/api\/groupe\/201219"},"libelle":"test \u00e0 moi 46546846","abrege":"test_dependances_2","entites":"Personne","description":null}&lt;BR /&gt;]&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;The tExtractJSONfields is filled that way :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture du 2019-01-24 14-29-40.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Zu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129337i161AE5756A163A95/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Zu.png" alt="0683p000009M2Zu.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I can't seem to obtain the response I wish for.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I checked with a tlogRow immediately after the tREST component and the answer is correct so far.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do you have any idea what's wrong with my reasoning ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your suggestions and help !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ema&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 13:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216415#M12421</guid>
      <dc:creator>Ema_fr</dc:creator>
      <dc:date>2019-01-24T13:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from a Json array (collection)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216416#M12422</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Further info : error log shows :&lt;/P&gt;&lt;P&gt;com.jayway.jsonpath.InvalidPathException: Invalid path $id&lt;/P&gt;&lt;P&gt;=&amp;gt; if I replace the "@" before the tExtractJSONfields, it does the trick;&lt;/P&gt;&lt;P&gt;But, is it really impossible to use the character "@" in field name ?&lt;/P&gt;&lt;P&gt;Thank you all for your insight,&lt;/P&gt;&lt;P&gt;Ema&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216416#M12422</guid>
      <dc:creator>Ema_fr</dc:creator>
      <dc:date>2019-01-24T14:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from a Json array (collection)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216417#M12423</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your JSON Query for each column is incorrect, try it as "$.@id"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216417#M12423</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2019-01-24T14:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from a Json array (collection)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216418#M12424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you so much, It worked !!!!&lt;/P&gt;&lt;P&gt;Best regards !&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 15:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-a-Json-array-collection/m-p/2216418#M12424</guid>
      <dc:creator>Ema_fr</dc:creator>
      <dc:date>2019-01-24T15:09:25Z</dc:date>
    </item>
  </channel>
</rss>

