<?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 How to read JSON data in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89226#M753223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one field in a table which has data in JSON format like below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a52a2a; font-family: Consolas, 'courier new'; font-size: 16px;"&gt;{"name":"John", "age":31, "city":"New York"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a52a2a; font-family: Consolas, 'courier new'; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 16px; font-family: Consolas, 'courier new';"&gt;I want Name, age, city as separate fields under which it should come John,31 and New York respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 16px; font-family: Consolas, 'courier new';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a52a2a; font-family: Consolas, 'courier new'; font-size: 16px;"&gt;&lt;SPAN style="color: #000000;"&gt;Anyone previously came across this or your help on this could be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>bhanuchander558</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to read JSON data in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89226#M753223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one field in a table which has data in JSON format like below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a52a2a; font-family: Consolas, 'courier new'; font-size: 16px;"&gt;{"name":"John", "age":31, "city":"New York"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a52a2a; font-family: Consolas, 'courier new'; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 16px; font-family: Consolas, 'courier new';"&gt;I want Name, age, city as separate fields under which it should come John,31 and New York respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 16px; font-family: Consolas, 'courier new';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a52a2a; font-family: Consolas, 'courier new'; font-size: 16px;"&gt;&lt;SPAN style="color: #000000;"&gt;Anyone previously came across this or your help on this could be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89226#M753223</guid>
      <dc:creator>bhanuchander558</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to read JSON data in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89227#M753224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the data is consistent like you showed, you could probably use string parsing functions like subfield(). See this:&lt;A href="https://community.qlik.com/message/1497261"&gt;Re: Parsing JSON data with loop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more complex structure, look at:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-16915" title="https://community.qlik.com/docs/DOC-16915"&gt;https://community.qlik.com/docs/DOC-16915&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/253818"&gt;Load Data by Script with JSON&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89227#M753224</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-30T06:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to read JSON data in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89228#M753225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;One approach I like because it works for any number of key:value pairs: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Final:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Generic Load RecId, Key, Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RecId,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;trim(SubField(Pair,':',1)) as Key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;trim(SubField(Pair,':',2)) as Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RecId,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SubField(Raw,',') as Pair&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RecNo() as RecId,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;purgeChar(Raw,'{}"') as Raw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Raw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{"name":"John", "age":31, "city":"New York"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;] (delimiter is '|')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.easyqlik.com" rel="nofollow" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 11:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89228#M753225</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-10-30T11:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to read JSON data in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89229#M753226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that works for me.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 09:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89229#M753226</guid>
      <dc:creator>bhanuchander558</dc:creator>
      <dc:date>2018-10-31T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to read JSON data in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89230#M753227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your comment, I have parsing of string using for loop for that array string but my concern is if in future the format changes with any delimiter then its an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 09:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/89230#M753227</guid>
      <dc:creator>bhanuchander558</dc:creator>
      <dc:date>2018-10-31T09:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to read JSON data in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/1552337#M753228</link>
      <description>Hi Rob,&lt;BR /&gt;I followed the above procedure. But, the association between the columns is not working when we have multiple values in the columns. Like this&lt;BR /&gt;{"name":"John", "age":31, "city":"New York","name":"Deb", "age":33, "city":"Hyderabad"}</description>
      <pubDate>Tue, 05 Mar 2019 11:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-JSON-data-in-Qlikview/m-p/1552337#M753228</guid>
      <dc:creator>Prabhu</dc:creator>
      <dc:date>2019-03-05T11:38:12Z</dc:date>
    </item>
  </channel>
</rss>

