<?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 Read jSON with multiple data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375722#M138078</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I´m in trouble in reading data from a jSON-File with the following input:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"accountid": "AEX6376734",&lt;BR /&gt;"exhibitortype": "New Exhibitor",&lt;BR /&gt;"street": "Teststreet 1234",&lt;BR /&gt;"city": "Test City",&lt;BR /&gt;"email": "test@test.com"&lt;BR /&gt;"contact": {&lt;BR /&gt;"firstname": "Frank",&lt;BR /&gt;"lastname": "Master",&lt;BR /&gt;"contactphone": "+49 342823873",&lt;BR /&gt;"contactfax": null,&lt;BR /&gt;"contactmobile": null,&lt;BR /&gt;"contactemail": null,&lt;BR /&gt;"gender": null,&lt;BR /&gt;"salutation": null&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"accountid": "AEX&lt;/SPAN&gt;&lt;SPAN&gt;734875448&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"exhibitortype": "New Exhibitor",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"street": "Teststreet 5678&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"city": "Test City2&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"email":&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"test123231@test.com"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contact": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"firstname": "&lt;/SPAN&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"lastname": "&lt;/SPAN&gt;&lt;SPAN&gt;Master&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactphone": "+&lt;/SPAN&gt;&lt;SPAN&gt;49 12345&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactfax": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactmobile":&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactemail": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"gender": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"salutation": null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I tried to create a meta-schema for this jSON but I only get the first data of this jSON. So it seems that it don´t iterate over the rest of the file.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So my result must return two sets of data.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;AccountID:&amp;nbsp;AEX6376734&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;AccountID:&amp;nbsp;AEX734875448&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My solution should be:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tFileInputJson -&amp;gt; tIterateToFlow -&amp;gt; tLogRow to test if it works.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Is anyone able to show me a solution how to read all the data iterated into tLogRow? How should I define loop element if I don´t have a group element.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thx for your help.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jul 2018 10:08:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-31T10:08:58Z</dc:date>
    <item>
      <title>Read jSON with multiple data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375722#M138078</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I´m in trouble in reading data from a jSON-File with the following input:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"accountid": "AEX6376734",&lt;BR /&gt;"exhibitortype": "New Exhibitor",&lt;BR /&gt;"street": "Teststreet 1234",&lt;BR /&gt;"city": "Test City",&lt;BR /&gt;"email": "test@test.com"&lt;BR /&gt;"contact": {&lt;BR /&gt;"firstname": "Frank",&lt;BR /&gt;"lastname": "Master",&lt;BR /&gt;"contactphone": "+49 342823873",&lt;BR /&gt;"contactfax": null,&lt;BR /&gt;"contactmobile": null,&lt;BR /&gt;"contactemail": null,&lt;BR /&gt;"gender": null,&lt;BR /&gt;"salutation": null&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"accountid": "AEX&lt;/SPAN&gt;&lt;SPAN&gt;734875448&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"exhibitortype": "New Exhibitor",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"street": "Teststreet 5678&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"city": "Test City2&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"email":&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"test123231@test.com"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contact": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"firstname": "&lt;/SPAN&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"lastname": "&lt;/SPAN&gt;&lt;SPAN&gt;Master&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactphone": "+&lt;/SPAN&gt;&lt;SPAN&gt;49 12345&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactfax": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactmobile":&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"contactemail": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"gender": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"salutation": null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I tried to create a meta-schema for this jSON but I only get the first data of this jSON. So it seems that it don´t iterate over the rest of the file.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So my result must return two sets of data.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;AccountID:&amp;nbsp;AEX6376734&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;AccountID:&amp;nbsp;AEX734875448&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My solution should be:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tFileInputJson -&amp;gt; tIterateToFlow -&amp;gt; tLogRow to test if it works.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Is anyone able to show me a solution how to read all the data iterated into tLogRow? How should I define loop element if I don´t have a group element.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thx for your help.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 10:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375722#M138078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-31T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read jSON with multiple data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375723#M138079</link>
      <description>&lt;P&gt;How about something like this - tFileInputJSON - main - tMap - main - tLogRow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Job Layout -&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileInputJSON-3.JPG" style="width: 591px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz1o.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155752i89AE7A19DBA463CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz1o.jpg" alt="0683p000009Lz1o.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileInputJSON-4.JPG" style="width: 670px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz1y.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156885i62E36ED3EE42C73F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz1y.jpg" alt="0683p000009Lz1y.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMap-TC3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly2S.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153725iD958E2B1655A47A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly2S.jpg" alt="0683p000009Ly2S.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;Also, your json seems to be wrong and doesn't get validated. It should be something like this -&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;		[{
			"accountid": "AEX6376734",
			"exhibitortype": "New Exhibitor",
			"street": "Teststreet 1234",
			"city": "Test City",
			"email": "test@test.com",
			"contact": {
				"firstname": "Frank",
				"lastname": "Master",
				"contactphone": "+49 342823873",
				"contactfax": null,
				"contactmobile": null,
				"contactemail": null,
				"gender": null,
				"salutation": null
			}
		}, {
			"accountid": "AEX734875448",
			"exhibitortype": "New Exhibitor",
			"street": "Teststreet 5678",
			"city": "Test City2",
			"email": "test123231@test.com",
			"contact": {
				"firstname": "Robert",
				"lastname": "Master",
				"contactphone": "+49 12345",
				"contactfax": null,
				"contactmobile": null,
				"contactemail": null,
				"gender": null,
				"salutation": null
			}
		}]&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375723#M138079</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-01T08:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Read jSON with multiple data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375724#M138080</link>
      <description>&lt;P&gt;How about something in the line of tFileInputJSON - &amp;gt; main - &amp;gt; tMAP -&amp;gt; main -&amp;gt; tLogRow&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileInputJSON-3.JPG" style="width: 591px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyjb.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156924iD4B6C440759C7CF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyjb.jpg" alt="0683p000009Lyjb.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileInputJSON-4.JPG" style="width: 670px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyzj.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138088iB796125840064F41/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyzj.jpg" alt="0683p000009Lyzj.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMap-TC3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lydn.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154929i861AF997FDACAC99/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lydn.jpg" alt="0683p000009Lydn.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-jSON-with-multiple-data/m-p/2375724#M138080</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-01T09:21:03Z</dc:date>
    </item>
  </channel>
</rss>

