<?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: JSON Conversion in QlikView Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339493#M619463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i know which format of file is this?&lt;/P&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;STRONG&gt;Tmp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load json2csv(@1,'test') as data_csv&lt;SPAN class="m_-7390822084422922083gmail-m_-8418229513475735522m_7037408633526670841gmail-m_-4498448155710926906gmail-m_-2318546307732986836gmail-m_7721608212067087467gmail-Apple-tab-span"&gt; &lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tmp2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RowNo() as Row,id From_Field (Tmp, data_csv);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 May 2017 01:33:32 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-05-13T01:33:32Z</dc:date>
    <item>
      <title>JSON Conversion in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339492#M619462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table containing multidimensional JSON data within one of the attributes. Is there any example how to convert the json to sub-tables without using extensions or macros but using the normal script functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSON looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[{ "Id" : "1", "User" : "Mustermann", "Location" : [{ "PostalCode" : "33813", "City" : "Berlin"}], "Test" : [{ "Name" : "&lt;SPAN style="font-size: 13.3333px;"&gt;Optical", "Result" : "ok"&lt;/SPAN&gt; },&lt;SPAN style="font-size: 13.3333px;"&gt;{ "Name" : "&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Pressure", "Result" : "not ok"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; }&lt;/SPAN&gt;] }, { ... etc. ... }]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have one table containing the user information and one additional with the tests linked over the user id. Furthermore it should be dynamical because the sub table information could differ (sometimes they contain other tests or more fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions / examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 17:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339492#M619462</guid>
      <dc:creator>simon_koenen</dc:creator>
      <dc:date>2017-05-12T17:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Conversion in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339493#M619463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i know which format of file is this?&lt;/P&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;STRONG&gt;Tmp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load json2csv(@1,'test') as data_csv&lt;SPAN class="m_-7390822084422922083gmail-m_-8418229513475735522m_7037408633526670841gmail-m_-4498448155710926906gmail-m_-2318546307732986836gmail-m_7721608212067087467gmail-Apple-tab-span"&gt; &lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tmp2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RowNo() as Row,id From_Field (Tmp, data_csv);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 01:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339493#M619463</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-13T01:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Conversion in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339494#M619464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Check out this thread:&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/150233?forceNoRedirect=true"&gt;https://community.qlik.com/thread/150233?forceNoRedirect=true&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 08:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339494#M619464</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2017-05-13T08:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Conversion in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339495#M619465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also have a look here:&lt;/P&gt;&lt;P&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>Sat, 13 May 2017 11:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339495#M619465</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-05-13T11:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Conversion in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339496#M619466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid the posted links do not help me because they are using macros and/or additional connectors but I am trying to find a solution with the QlikView basic functionality. Like e.g. subs and loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is loaded from a MongoDB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 09:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339496#M619466</guid>
      <dc:creator>simon_koenen</dc:creator>
      <dc:date>2017-05-15T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Conversion in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339497#M619467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;I once started thinking about writing a script (before the REST connector came) to load JSON data with normal script code, using subfield() and&amp;nbsp;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;HierarchyBelongsTo() etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;But then the connector arrived &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;The syntax of JSON can become quite complex with sub on sub levels, but you should be able to do it...&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 19:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JSON-Conversion-in-QlikView-Script/m-p/1339497#M619467</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2017-05-16T19:00:01Z</dc:date>
    </item>
  </channel>
</rss>

