<?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 Re: [resolved] tRest and map JSON with tExtractJSONField with TALEND in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232199#M22249</link>
    <description>Hi, 
&lt;BR /&gt;Thanks for help, I found how to do the mapping. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/249876/7.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157070iAA59D6777941E1C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpE.jpg" alt="0683p000009MBpE.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/249876/9.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCAF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128449i1B6A09E42C648AFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCAF.jpg" alt="0683p000009MCAF.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Now I have a little problem, I need to extract hashtags, which are in array like this : 
&lt;BR /&gt; 
&lt;PRE&gt;"hashtags":  &amp;nbsp; &amp;nbsp; &lt;/PRE&gt; 
&lt;BR /&gt;The problem is the node hashtags return only the first tag! 
&lt;BR /&gt;And I want to see all tags, like "tag1, tag2, ..." 
&lt;BR /&gt;I wait for your help.</description>
    <pubDate>Thu, 25 Dec 2014 10:43:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-25T10:43:13Z</dc:date>
    <item>
      <title>[resolved] tRest and map JSON with tExtractJSONField with TALEND</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232197#M22247</link>
      <description>I'm quite new to Talend and I am stuck with getting JSON data using tRest. 
&lt;BR /&gt;We Suppose that I am trying to get all posts from social networks. 
&lt;BR /&gt;That's why I am using &amp;nbsp;to get data which is formatted in JSON. 
&lt;BR /&gt;Here is one of the scenarios I tried. I have an output JSON data like this from &amp;nbsp;with 2 posts as example, I removed some nodes to clarify ... : 
&lt;BR /&gt; 
&lt;PRE&gt;{&lt;BR /&gt;"posts": &lt;BR /&gt;  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;},&lt;BR /&gt; &amp;nbsp; &amp;nbsp;{&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"network": "Facebook",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"post_id": "547835328170823680",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"text": "#tunisia .. #tunis",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"html": " ",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"permalink": " ",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"post_time": 1777449095,&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"user_id": "159995522",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"user_name": " ",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"user_real_name": " ",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"user_profile_image_url": " ",&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"hashtags":  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt;Here's the first Talend job : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;And I configured tExtractJSONField to extract 
&lt;B&gt;text&lt;/B&gt; field from the data as below : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;In fact, I need these fields : 
&lt;B&gt;newtork, text, post_time&lt;/B&gt;, and the list of 
&lt;B&gt;hashtags&lt;/B&gt;. 
&lt;BR /&gt;Because of 
&lt;B&gt;Body&lt;/B&gt; on the Mapping table, I think I can not add more attributes to map the rest of fields. 
&lt;BR /&gt;I found there's a way to map data with tXMLMap where the body field can be extended to add more fields : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;I believe there's a way do the same thing for JSON but I dont know how and I wait for your help.</description>
      <pubDate>Wed, 24 Dec 2014 20:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232197#M22247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-24T20:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRest and map JSON with tExtractJSONField with TALEND</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232198#M22248</link>
      <description>Hi,
&lt;BR /&gt;Your screenshots are not available for us. Could you please upload your image by chicking "Upload" button or dropping your file into "Drop files here to attache them" field directly?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 25 Dec 2014 07:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232198#M22248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-25T07:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRest and map JSON with tExtractJSONField with TALEND</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232199#M22249</link>
      <description>Hi, 
&lt;BR /&gt;Thanks for help, I found how to do the mapping. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/249876/7.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157070iAA59D6777941E1C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpE.jpg" alt="0683p000009MBpE.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/249876/9.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCAF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128449i1B6A09E42C648AFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCAF.jpg" alt="0683p000009MCAF.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Now I have a little problem, I need to extract hashtags, which are in array like this : 
&lt;BR /&gt; 
&lt;PRE&gt;"hashtags":  &amp;nbsp; &amp;nbsp; &lt;/PRE&gt; 
&lt;BR /&gt;The problem is the node hashtags return only the first tag! 
&lt;BR /&gt;And I want to see all tags, like "tag1, tag2, ..." 
&lt;BR /&gt;I wait for your help.</description>
      <pubDate>Thu, 25 Dec 2014 10:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-and-map-JSON-with-tExtractJSONField-with-TALEND/m-p/2232199#M22249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-25T10:43:13Z</dc:date>
    </item>
  </channel>
</rss>

