<?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 JsonGet Script Function's Syntax in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049408#M86252</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;I am trying to use JsonGet script function defined below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/JsonGet.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/JsonGet.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Somehow I am not able to figure out its syntax&lt;/P&gt;
&lt;P&gt;Let value = JsonGet('{"a":{"foo":"bar"},"b":[123,"abc","ABC"]}', '/a/foo');&lt;/P&gt;
&lt;P&gt;The above gives me error saying&lt;/P&gt;
&lt;DIV class="headline edc_error"&gt;The following error occurred:&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Unexpected token: '(', expected one of: ':', 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', 'like', ...&lt;/DIV&gt;
&lt;DIV class="empty edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="headline edc_error"&gt;The error occurred here:&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Let value = JsonGet&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;(&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;'{"a":{"foo":"bar"},"b":[123,"abc","ABC"]}', '/a/foo')&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Can someone please help me here?&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Thanks in advance!!&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Mar 2023 09:52:05 GMT</pubDate>
    <dc:creator>dikshaQlik</dc:creator>
    <dc:date>2023-03-15T09:52:05Z</dc:date>
    <item>
      <title>JsonGet Script Function's Syntax</title>
      <link>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049408#M86252</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;I am trying to use JsonGet script function defined below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/JsonGet.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/JsonGet.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Somehow I am not able to figure out its syntax&lt;/P&gt;
&lt;P&gt;Let value = JsonGet('{"a":{"foo":"bar"},"b":[123,"abc","ABC"]}', '/a/foo');&lt;/P&gt;
&lt;P&gt;The above gives me error saying&lt;/P&gt;
&lt;DIV class="headline edc_error"&gt;The following error occurred:&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Unexpected token: '(', expected one of: ':', 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', 'like', ...&lt;/DIV&gt;
&lt;DIV class="empty edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="headline edc_error"&gt;The error occurred here:&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Let value = JsonGet&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;(&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;'{"a":{"foo":"bar"},"b":[123,"abc","ABC"]}', '/a/foo')&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Can someone please help me here?&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Thanks in advance!!&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Mar 2023 09:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049408#M86252</guid>
      <dc:creator>dikshaQlik</dc:creator>
      <dc:date>2023-03-15T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: JsonGet Script Function's Syntax</title>
      <link>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049768#M86286</link>
      <description>&lt;P&gt;Hello, DikshaQlik,&lt;/P&gt;
&lt;P&gt;What is your Qlik Sense version? Because t&lt;SPAN&gt;his feature it is just avaible from August-2022.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I've loaded the sample you gave and I got the expected result. (&lt;SPAN&gt;"bar")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 23:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049768#M86286</guid>
      <dc:creator>rpennacchi</dc:creator>
      <dc:date>2023-03-15T23:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: JsonGet Script Function's Syntax</title>
      <link>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049869#M86294</link>
      <description>&lt;P&gt;Hi Rpennachi,&lt;/P&gt;
&lt;P&gt;Thanks for your reply. I am using May 2022 version and yes this is not available in that version.&lt;/P&gt;
&lt;P&gt;May 2022 version is our firmwide used version and the upgrades are going to take much longer time. But I have an immediate use case where I need to parse a json which is nested. How do I parse this json in qlik sense 2022 version.&lt;/P&gt;
&lt;P&gt;eg:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{ &lt;BR /&gt;"abc":"val1",&lt;BR /&gt;"pqr":"val2",&lt;BR /&gt;"xyz":val3,&lt;BR /&gt;"nestedAttribute":{&lt;BR /&gt;"a1":true,&lt;BR /&gt;"b1":true,&lt;BR /&gt;"c1":"val4",&lt;BR /&gt;"someDate":"2021-03-24",&lt;BR /&gt;"someArray":[],&lt;BR /&gt;"someArray2":[{&lt;BR /&gt;"d1":{&lt;BR /&gt;"e1":123456,&lt;BR /&gt;"f1":"val5",&lt;BR /&gt;"g1":"val6"&lt;BR /&gt;}}],}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 07:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/JsonGet-Script-Function-s-Syntax/m-p/2049869#M86294</guid>
      <dc:creator>dikshaQlik</dc:creator>
      <dc:date>2023-03-16T07:03:57Z</dc:date>
    </item>
  </channel>
</rss>

