<?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: Parse JSON with “empty key” in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-with-empty-key/m-p/2264346#M44212</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOnQAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You cannot read JSON with empty key.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My suggestion would be first replace all empty keys of the file using some pre-processing.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example Read the whole file and replace '"" : ' with '"Empty_Key" : ' and create a new Json File and parse that file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and Regards,&lt;/P&gt; 
&lt;P&gt;Subhadip&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 21:29:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-01T21:29:30Z</dc:date>
    <item>
      <title>Parse JSON with “empty key”</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-with-empty-key/m-p/2264345#M44211</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are having a scenario in which we have a JSON with “empty key”. We are unable to parse data for the corresponding key.&lt;/P&gt; 
&lt;P&gt;Sample data as below.&lt;BR /&gt;{&lt;BR /&gt;"firstName": "John",&lt;BR /&gt;"lastName" : "doe",&lt;BR /&gt;"age" : 26,&lt;BR /&gt;&lt;BR /&gt;"address" : {&lt;BR /&gt;"streetAddress": "naist street",&lt;BR /&gt;"city" : "Nara",&lt;BR /&gt;"postalCode" : "630-0192"&lt;BR /&gt;},&lt;BR /&gt;"phone.Numbers": [&lt;BR /&gt;{&lt;BR /&gt;"type" : "iPhone",&lt;BR /&gt;"number": "0123-4567-8888",&lt;BR /&gt;"" : "abcd",&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type" : "home",&lt;BR /&gt;"number": "0123-4567-8910",&lt;BR /&gt;"" : "pqr",&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;We are using JSON query for the same to parse in tFileInputJSON.&lt;BR /&gt;Please help if anyone came across with this scenario.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;BR /&gt;Niraj&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-with-empty-key/m-p/2264345#M44211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON with “empty key”</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-with-empty-key/m-p/2264346#M44212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOnQAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You cannot read JSON with empty key.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My suggestion would be first replace all empty keys of the file using some pre-processing.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example Read the whole file and replace '"" : ' with '"Empty_Key" : ' and create a new Json File and parse that file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and Regards,&lt;/P&gt; 
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 21:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-with-empty-key/m-p/2264346#M44212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-01T21:29:30Z</dc:date>
    </item>
  </channel>
</rss>

