<?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 JSON parsing problem in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67954#M4547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to parse JSON code formatted like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Anonymous Pro', Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', monospace; font-size: 12.96px; background-color: #fcf6db;"&gt;[ { "nsrId": "1020895", "koordinatLatLng": [ 59.7626, 10.03038 ], "navn": "Stenseth barnehage", "fylkesnummer": "06", "kommunenummer": "0625", "alder": "1 - 5", "eierform": "Privat", "antallBarn": 77 },.........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Rest connection generates this code: &lt;/P&gt;&lt;P&gt;----------------------&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable:&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;"nsrId",&lt;/P&gt;&lt;P&gt;"navn",&lt;/P&gt;&lt;P&gt;"fylkesnummer",&lt;/P&gt;&lt;P&gt;"kommunenummer",&lt;/P&gt;&lt;P&gt;"alder",&lt;/P&gt;&lt;P&gt;"eierform",&lt;/P&gt;&lt;P&gt;"antallBarn",&lt;/P&gt;&lt;P&gt;"__KEY_root",&lt;/P&gt;&lt;P&gt;(SELECT &lt;/P&gt;&lt;P&gt;"@Value",&lt;/P&gt;&lt;P&gt;"__FK_koordinatLatLng"&lt;/P&gt;&lt;P&gt;FROM "koordinatLatLng" FK "__FK_koordinatLatLng" ArrayValueAlias "@Value")&lt;/P&gt;&lt;P&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[koordinatLatLng]:&lt;/P&gt;&lt;P&gt;LOAD [@Value] AS [Lat],&lt;/P&gt;&lt;P&gt;[__FK_koordinatLatLng] AS [__KEY_root]&lt;/P&gt;&lt;P&gt;RESIDENT RestConnectorMasterTable&lt;/P&gt;&lt;P&gt;WHERE NOT IsNull([__FK_koordinatLatLng]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root]:&lt;/P&gt;&lt;P&gt;LOAD [nsrId] AS [nsrId],&lt;/P&gt;&lt;P&gt;[navn] AS [Barnehage],&lt;/P&gt;&lt;P&gt;[kommunenummer] AS [Kommunenummer],&lt;/P&gt;&lt;P&gt;[alder] AS [Aldersspenn],&lt;/P&gt;&lt;P&gt;[eierform] AS [Eierform],&lt;/P&gt;&lt;P&gt;[antallBarn] AS [Antall barn],&lt;/P&gt;&lt;P&gt;[__KEY_root] AS [__KEY_root]&lt;/P&gt;&lt;P&gt;RESIDENT RestConnectorMasterTable&lt;/P&gt;&lt;P&gt;WHERE NOT IsNull([__KEY_root]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE RestConnectorMasterTable;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;My problem is that latitude/longitude (&lt;SPAN style="color: #000000; font-family: 'Anonymous Pro', Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', monospace; font-size: 12.96px; background-color: #fcf6db;"&gt;"koordinatLatLng": [ 59.7626, 10.03038 ]) &lt;/SPAN&gt;is read like a sum. I need to read latitude and longitude as separate entities but I cannot figure out how to change the code to accomplish that.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 10:16:00 GMT</pubDate>
    <dc:creator>jelindbe</dc:creator>
    <dc:date>2018-06-07T10:16:00Z</dc:date>
    <item>
      <title>JSON parsing problem</title>
      <link>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67954#M4547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to parse JSON code formatted like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Anonymous Pro', Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', monospace; font-size: 12.96px; background-color: #fcf6db;"&gt;[ { "nsrId": "1020895", "koordinatLatLng": [ 59.7626, 10.03038 ], "navn": "Stenseth barnehage", "fylkesnummer": "06", "kommunenummer": "0625", "alder": "1 - 5", "eierform": "Privat", "antallBarn": 77 },.........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Rest connection generates this code: &lt;/P&gt;&lt;P&gt;----------------------&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable:&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;"nsrId",&lt;/P&gt;&lt;P&gt;"navn",&lt;/P&gt;&lt;P&gt;"fylkesnummer",&lt;/P&gt;&lt;P&gt;"kommunenummer",&lt;/P&gt;&lt;P&gt;"alder",&lt;/P&gt;&lt;P&gt;"eierform",&lt;/P&gt;&lt;P&gt;"antallBarn",&lt;/P&gt;&lt;P&gt;"__KEY_root",&lt;/P&gt;&lt;P&gt;(SELECT &lt;/P&gt;&lt;P&gt;"@Value",&lt;/P&gt;&lt;P&gt;"__FK_koordinatLatLng"&lt;/P&gt;&lt;P&gt;FROM "koordinatLatLng" FK "__FK_koordinatLatLng" ArrayValueAlias "@Value")&lt;/P&gt;&lt;P&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[koordinatLatLng]:&lt;/P&gt;&lt;P&gt;LOAD [@Value] AS [Lat],&lt;/P&gt;&lt;P&gt;[__FK_koordinatLatLng] AS [__KEY_root]&lt;/P&gt;&lt;P&gt;RESIDENT RestConnectorMasterTable&lt;/P&gt;&lt;P&gt;WHERE NOT IsNull([__FK_koordinatLatLng]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root]:&lt;/P&gt;&lt;P&gt;LOAD [nsrId] AS [nsrId],&lt;/P&gt;&lt;P&gt;[navn] AS [Barnehage],&lt;/P&gt;&lt;P&gt;[kommunenummer] AS [Kommunenummer],&lt;/P&gt;&lt;P&gt;[alder] AS [Aldersspenn],&lt;/P&gt;&lt;P&gt;[eierform] AS [Eierform],&lt;/P&gt;&lt;P&gt;[antallBarn] AS [Antall barn],&lt;/P&gt;&lt;P&gt;[__KEY_root] AS [__KEY_root]&lt;/P&gt;&lt;P&gt;RESIDENT RestConnectorMasterTable&lt;/P&gt;&lt;P&gt;WHERE NOT IsNull([__KEY_root]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE RestConnectorMasterTable;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;My problem is that latitude/longitude (&lt;SPAN style="color: #000000; font-family: 'Anonymous Pro', Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', monospace; font-size: 12.96px; background-color: #fcf6db;"&gt;"koordinatLatLng": [ 59.7626, 10.03038 ]) &lt;/SPAN&gt;is read like a sum. I need to read latitude and longitude as separate entities but I cannot figure out how to change the code to accomplish that.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67954#M4547</guid>
      <dc:creator>jelindbe</dc:creator>
      <dc:date>2018-06-07T10:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: JSON parsing problem</title>
      <link>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67955#M4548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this will be helpful for you: &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;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67955#M4548</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-06-07T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: JSON parsing problem</title>
      <link>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67956#M4549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your contribution Marcus. However, I am not a developer and could not figure out any solution. I guess I must wait until our overloaded developer team can help me.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/JSON-parsing-problem/m-p/67956#M4549</guid>
      <dc:creator>jelindbe</dc:creator>
      <dc:date>2018-06-13T09:00:06Z</dc:date>
    </item>
  </channel>
</rss>

