<?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: Address column having comma ',' value is not converting into JSON format from Excel file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319749#M89961</link>
    <description>&lt;P&gt;Thank buddy for correcting JSON format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with the solution.&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 16:22:33 GMT</pubDate>
    <dc:creator>AbhishekBoga</dc:creator>
    <dc:date>2019-05-21T16:22:33Z</dc:date>
    <item>
      <title>Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319744#M89956</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a task where I need to convert excel file data into JSON format. I'm able to convert the excel file but some of the data rows from file is having comma ',' values in fields say Address and that row is not converting into JSON format.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Row 1 &amp;amp; 3 : Address1 fields is having a value with comma and due to this this row is not converted int JSON format, whereas Row 2 is not having comma and thus converted into JSON format. Refer fig.1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I want is to retain the comma in the JSON format as shown in fig. 2:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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-inline" image-alt="Final JSON format.PNG" style="width: 308px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M475.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150898iDE597DDDF86415F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M475.png" alt="0683p000009M475.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Fig 2 - Pls ignore the JSON format as I might be wrong&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Final JSON format.PNG" style="width: 308px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M49k.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139346iF83D95D01B494EB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M49k.png" alt="0683p000009M49k.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 09:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319744#M89956</guid>
      <dc:creator>AbhishekBoga</dc:creator>
      <dc:date>2019-05-21T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319745#M89957</link>
      <description>&lt;P&gt;Those both look identical to me, did you paste the "good" results twice?&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 10:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319745#M89957</guid>
      <dc:creator>PhilHibbs</dc:creator>
      <dc:date>2019-05-21T10:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319746#M89958</link>
      <description>&lt;P&gt;Yes... bymistake pasted twice. Find the figures as below&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Fig 1:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JSON Sample.PNG" style="width: 318px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4IW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129615i0CD88ED6B1285387/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4IW.png" alt="0683p000009M4IW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Fig 2:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Final JSON format.PNG" style="width: 308px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Ib.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127996iA209C551B0A0477F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Ib.png" alt="0683p000009M4Ib.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 11:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319746#M89958</guid>
      <dc:creator>AbhishekBoga</dc:creator>
      <dc:date>2019-05-21T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319747#M89959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZyAAO"&gt;@AbhishekBoga&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The json form you are trying is not a valid json, please let us know the actual json form that you are trying to make.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 13:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319747#M89959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-21T13:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319748#M89960</link>
      <description>&lt;P&gt;The correct format of the JSON file is :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;{
	"ma_liste":[
		{"id":1,
		"address1": "mon addresse1 1",
		"address2": "mon addresse1 2",
		"address3": "mon addresse1 3"}
		,
		{"id":2,
		"address1": "mon addresse2 1",
		"address2": "mon addresse2 2",
		"address3": "mon addresse2 3"}
		,
		{"id":3,
		"address1": "mon addresse3 1",
		"address2": "mon addresse3 2",
		"address3": "mon addresse3 3"}
	]	
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 May 2019 15:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319748#M89960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-21T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319749#M89961</link>
      <description>&lt;P&gt;Thank buddy for correcting JSON format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 16:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319749#M89961</guid>
      <dc:creator>AbhishekBoga</dc:creator>
      <dc:date>2019-05-21T16:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Address column having comma ',' value is not converting into JSON format from Excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319750#M89962</link>
      <description>&lt;P&gt;I think you need to add one more column to group all the address fields. I just added an additional field in tmap named as groupcolumn.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Job:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.PNG" style="width: 955px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4LQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129308i3ACA4B0E79239101/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4LQ.png" alt="0683p000009M4LQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tMap:&lt;/STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Gg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152029i1648DBE669D6315B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Gg.png" alt="0683p000009M4Gg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;WriteJsonComponent:&lt;/STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="writejsonComponent.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M41M.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155776iAF3B43D9BA91E331/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M41M.png" alt="0683p000009M41M.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Json Mapping:&lt;/STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jsonmapping.PNG" style="width: 775px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4LV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149692i8D21547A267B8002/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4LV.png" alt="0683p000009M4LV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;The above mapping will give you the final json form as follows.&lt;/P&gt; 
&lt;PRE&gt;{"address_list":[{"id":1,"address1":"A/14, Grant road","address2":"St. Bolt road","address3":"Mumbai"},{"id":2,"address1":"A/14 Grant road","address2":"St. Bolt road","address3":"Mumbai"},{"id":3,"address1":"A/14, Grant road","address2":"St. Bolt road","address3":"Mumbai"}]}&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note:&amp;nbsp;&lt;SPAN&gt;Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 16:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Address-column-having-comma-value-is-not-converting-into-JSON/m-p/2319750#M89962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-21T16:37:24Z</dc:date>
    </item>
  </channel>
</rss>

