<?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: Parsing Json without specifying fields in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parsing-Json-without-specifying-fields/m-p/2254210#M37286</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please let us know if this&amp;nbsp; related topic helps?&lt;/P&gt; 
&lt;P&gt;&lt;A title="https://community.talend.com/t5/Design-and-Development/Parse-hashmap-inside-a-json/m-p/133006" href="https://community.talend.com/t5/Design-and-Development/Parse-hashmap-inside-a-json/m-p/133006" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Parse-hashmap-inside-a-json/m-p/133006&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2018 07:29:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-19T07:29:55Z</dc:date>
    <item>
      <title>Parsing Json without specifying fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-Json-without-specifying-fields/m-p/2254209#M37285</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a Json object which is retrieved through a REST api such as the one below&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;"id": 123 ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;"location": "Europe",&lt;/P&gt;
&lt;P&gt;"names": {&lt;/P&gt;
&lt;P&gt;"John" : 4 ,&lt;/P&gt;
&lt;P&gt;"Mark" : 4,&lt;/P&gt;
&lt;P&gt;"Luke"&amp;nbsp;: 4,&lt;/P&gt;
&lt;P&gt;"Matthew" : 7&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to loop through all the names, without specifying each name as a field, and store each pair &amp;lt;string,integer&amp;gt; as a separate row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using tExtractJSONFields, the names object is returned as a string and not as an Object, and thus cannot store it as a hashmap.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using tExtractDelimetedFields, this cannot be parsed, since the whole object is one string.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way other than using Java to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 08:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-Json-without-specifying-fields/m-p/2254209#M37285</guid>
      <dc:creator>mat007g</dc:creator>
      <dc:date>2018-10-11T08:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Json without specifying fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-Json-without-specifying-fields/m-p/2254210#M37286</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please let us know if this&amp;nbsp; related topic helps?&lt;/P&gt; 
&lt;P&gt;&lt;A title="https://community.talend.com/t5/Design-and-Development/Parse-hashmap-inside-a-json/m-p/133006" href="https://community.talend.com/t5/Design-and-Development/Parse-hashmap-inside-a-json/m-p/133006" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Parse-hashmap-inside-a-json/m-p/133006&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 07:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-Json-without-specifying-fields/m-p/2254210#M37286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-19T07:29:55Z</dc:date>
    </item>
  </channel>
</rss>

