<?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>article Parsing: Structured JSON Arrays in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/Parsing-Structured-JSON-Arrays/ta-p/2537733</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="StructuredArray_PrettyFormat.png" style="width: 276px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185364i5C87B830B8071E79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StructuredArray_PrettyFormat.png" alt="StructuredArray_PrettyFormat.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The image above depicts a JSON Version 2 structured array. Rather than repeating the column/field names over and over in pairs with the data, they present the fields and the data separately.&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;JsonGet()&lt;/H2&gt;
&lt;P&gt;When I first encountered this structure, I asked myself "How in the world am I supposed to read the data into a structured placeholder?" I couldn't find any type of JsonGet example where it said "read this data array and just use your esp to know what the field names are supposed to be.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With any problem like this where the answer doesn't seem obvious, my recommendation is to just get started with what you can achieve ... so I did. I started by separating out the information that I could with the basic JsonGet field/value pair syntax.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_0-1764616497991.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185365i6D725DD572C4C3E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_0-1764616497991.png" alt="Dalton_Ruer_0-1764616497991.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After that I had the information that would be needed, broken up into digestible pieces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dalton_Ruer_1-1764616629935.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185366i4B931FEF17A93262/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_1-1764616629935.png" alt="Dalton_Ruer_1-1764616629935.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Field Names&lt;/H2&gt;
&lt;P&gt;Then I started with the field names. Notice that it is simply a JSON Array of Homogenous Objects and we already know how to deal with those by sprinkling on a little of the Qlik iteration magic:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_2-1764616970321.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185367i44F8B9652AA6BFD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_2-1764616970321.png" alt="Dalton_Ruer_2-1764616970321.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Voila ... we have a table of the FieldValues so we know the names of each of our columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_3-1764617048780.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185368i52EDF134895B892C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_3-1764617048780.png" alt="Dalton_Ruer_3-1764617048780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Visualize the Solution&lt;/H2&gt;
&lt;P&gt;That was the easy part. I still wasn't sure how in the world I create a table where those were the columns and the data values would be the ... well ... the data values. So, I tried to visualize what I was looking for by adding the following as comments in the code itself as a reminder/muse.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;SHERIFF_BADGE, TOTAL_BULLETS_USED&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;1307919, 3221&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;1617792, 2690&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Then a crazy notion hit me ... that looks exactly like what I would do for an INLINE table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EXACTLY LIKE AN INLINE TABLE.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So .... why not build it as an inline table?&lt;/P&gt;
&lt;P&gt;What I wanted was something like this ...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_4-1764617440190.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185369i59F40F8454E712EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_4-1764617440190.png" alt="Dalton_Ruer_4-1764617440190.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;vCortexHeader&lt;/H2&gt;
&lt;P&gt;Obviously I needed to build the Header variable first. A little housekeeping first to set some variables then I just needed to loop through however many columns/fields the structured array might have. In my real case, the number of fields was more than 2, but I shortened them to help you track the solution. The logic works regardless of the number. If it is the first field, then set the vCortexHeader to the name of the first field. If it is not the first field, then update the vCortexHeader so it equals the previous value, and add a comma, then add the name of the next field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_5-1764617516596.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185370i25D7FDC803581DDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_5-1764617516596.png" alt="Dalton_Ruer_5-1764617516596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Voila ... the header for my soon to be inline table of values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_6-1764617742630.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185371i0EA292975E54B09D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_6-1764617742630.png" alt="Dalton_Ruer_6-1764617742630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;vDataValues&lt;/H2&gt;
&lt;P&gt;At the beginning of this post I showed what the ResultData looked like as part of the overall Response table that was constructed using the simple JsonGet function. I've expanded here so you can focus on just it ... notice that other than some extraneous characters it is literally in the format we need for an INLINE table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_8-1764618031398.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185373iBD913EAEE24B7523/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_8-1764618031398.png" alt="Dalton_Ruer_8-1764618031398.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you take out the open/close square brackets "[" "]" and the double quotes ... the data is right there. We already know from previous posts how to use the JsonGet function to get row 1 (which is 0 offset) and get row x ....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_10-1764618365673.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185375i6B3241AD7543E758/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_10-1764618365673.png" alt="Dalton_Ruer_10-1764618365673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, then it is just a matter of removing those double quotes and square brackets:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_9-1764618271909.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185374iEC35B12810519D45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_9-1764618271909.png" alt="Dalton_Ruer_9-1764618271909.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Putting it all together we pretty much do what we did with the field names, except this time we added carriage return line feed characters before rows 2 through x:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_11-1764618437082.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185376i7049CDE7B4D680BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_11-1764618437082.png" alt="Dalton_Ruer_11-1764618437082.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And we ended up a vDataValues variable that looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_12-1764618542473.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185377iC392D46BC64881D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_12-1764618542473.png" alt="Dalton_Ruer_12-1764618542473.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Practice&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;If you are anything like me you don't like to assume anything, and you are a visual or experiential learner. So, go ahead and download the attached&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;WildDataFrontier.qvf&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;that is attached, upload it to your environment and open the load script.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_14-1764618774483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185379i13FE91A4CE684F85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_14-1764618774483.png" alt="Dalton_Ruer_14-1764618774483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{ Notice there are multiple sections. Each of them will pertain to a separate article and for this article the section named "&lt;STRONG&gt;&lt;FONT color="#993300"&gt;7 - Structured Array&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;" is the one you want to have at the top of your script. }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Edit line 49 that had 2 data values and a third data value &lt;FONT color="#993300"&gt;&lt;STRONG&gt;, ("7777777", "777") &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;and modify the numRows value from 2 to&lt;/FONT&gt;&lt;STRONG&gt; 3 &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;like this&lt;/FONT&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;'{"table": {"result_set": { "data": (("1307919","3221"), ("1617792","2690")&lt;STRONG&gt;&lt;FONT color="#993300"&gt;, ("7777777", "777")&lt;/FONT&gt;&lt;/STRONG&gt;), "resultSetMetaData": {"format": "jsonv2","numRows": &lt;FONT color="#993300"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt;, "rowType": ({"length": 0,"name": "SHERIFF_BADGE","nullable": true,"precision": 38,"scale": 0,"type": "fixed"},{"length": 0, "name": "TOTAL_BULLETS_USED", "nullable": false,"precision": 18, "scale": 0, "type": "fixed"} ) }, "title": "Top 2 Sheriffs for number of bullets used"} }}'&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Since this solution involved a lot of variables, feel free to use the Debug mode and set breakpoints where you want them so that you can see the values as they are set. Or simply just reload the data after your changes and check out the values in each of the tables created so you can confirm what was done.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_0-1764619307446.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185380iF92F79E926D83BCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_0-1764619307446.png" alt="Dalton_Ruer_0-1764619307446.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Dec 2025 20:05:59 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2025-12-01T20:05:59Z</dc:date>
    <item>
      <title>Parsing: Structured JSON Arrays</title>
      <link>https://community.qlik.com/t5/Member-Articles/Parsing-Structured-JSON-Arrays/ta-p/2537733</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="StructuredArray_PrettyFormat.png" style="width: 276px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185364i5C87B830B8071E79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StructuredArray_PrettyFormat.png" alt="StructuredArray_PrettyFormat.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The image above depicts a JSON Version 2 structured array. Rather than repeating the column/field names over and over in pairs with the data, they present the fields and the data separately.&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;JsonGet()&lt;/H2&gt;
&lt;P&gt;When I first encountered this structure, I asked myself "How in the world am I supposed to read the data into a structured placeholder?" I couldn't find any type of JsonGet example where it said "read this data array and just use your esp to know what the field names are supposed to be.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With any problem like this where the answer doesn't seem obvious, my recommendation is to just get started with what you can achieve ... so I did. I started by separating out the information that I could with the basic JsonGet field/value pair syntax.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_0-1764616497991.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185365i6D725DD572C4C3E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_0-1764616497991.png" alt="Dalton_Ruer_0-1764616497991.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After that I had the information that would be needed, broken up into digestible pieces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dalton_Ruer_1-1764616629935.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185366i4B931FEF17A93262/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_1-1764616629935.png" alt="Dalton_Ruer_1-1764616629935.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Field Names&lt;/H2&gt;
&lt;P&gt;Then I started with the field names. Notice that it is simply a JSON Array of Homogenous Objects and we already know how to deal with those by sprinkling on a little of the Qlik iteration magic:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_2-1764616970321.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185367i44F8B9652AA6BFD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_2-1764616970321.png" alt="Dalton_Ruer_2-1764616970321.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Voila ... we have a table of the FieldValues so we know the names of each of our columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_3-1764617048780.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185368i52EDF134895B892C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_3-1764617048780.png" alt="Dalton_Ruer_3-1764617048780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Visualize the Solution&lt;/H2&gt;
&lt;P&gt;That was the easy part. I still wasn't sure how in the world I create a table where those were the columns and the data values would be the ... well ... the data values. So, I tried to visualize what I was looking for by adding the following as comments in the code itself as a reminder/muse.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;SHERIFF_BADGE, TOTAL_BULLETS_USED&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;1307919, 3221&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;1617792, 2690&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Then a crazy notion hit me ... that looks exactly like what I would do for an INLINE table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EXACTLY LIKE AN INLINE TABLE.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So .... why not build it as an inline table?&lt;/P&gt;
&lt;P&gt;What I wanted was something like this ...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_4-1764617440190.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185369i59F40F8454E712EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_4-1764617440190.png" alt="Dalton_Ruer_4-1764617440190.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;vCortexHeader&lt;/H2&gt;
&lt;P&gt;Obviously I needed to build the Header variable first. A little housekeeping first to set some variables then I just needed to loop through however many columns/fields the structured array might have. In my real case, the number of fields was more than 2, but I shortened them to help you track the solution. The logic works regardless of the number. If it is the first field, then set the vCortexHeader to the name of the first field. If it is not the first field, then update the vCortexHeader so it equals the previous value, and add a comma, then add the name of the next field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_5-1764617516596.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185370i25D7FDC803581DDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_5-1764617516596.png" alt="Dalton_Ruer_5-1764617516596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Voila ... the header for my soon to be inline table of values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_6-1764617742630.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185371i0EA292975E54B09D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_6-1764617742630.png" alt="Dalton_Ruer_6-1764617742630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;vDataValues&lt;/H2&gt;
&lt;P&gt;At the beginning of this post I showed what the ResultData looked like as part of the overall Response table that was constructed using the simple JsonGet function. I've expanded here so you can focus on just it ... notice that other than some extraneous characters it is literally in the format we need for an INLINE table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_8-1764618031398.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185373iBD913EAEE24B7523/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_8-1764618031398.png" alt="Dalton_Ruer_8-1764618031398.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you take out the open/close square brackets "[" "]" and the double quotes ... the data is right there. We already know from previous posts how to use the JsonGet function to get row 1 (which is 0 offset) and get row x ....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_10-1764618365673.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185375i6B3241AD7543E758/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_10-1764618365673.png" alt="Dalton_Ruer_10-1764618365673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, then it is just a matter of removing those double quotes and square brackets:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_9-1764618271909.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185374iEC35B12810519D45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_9-1764618271909.png" alt="Dalton_Ruer_9-1764618271909.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Putting it all together we pretty much do what we did with the field names, except this time we added carriage return line feed characters before rows 2 through x:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_11-1764618437082.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185376i7049CDE7B4D680BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_11-1764618437082.png" alt="Dalton_Ruer_11-1764618437082.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And we ended up a vDataValues variable that looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_12-1764618542473.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185377iC392D46BC64881D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_12-1764618542473.png" alt="Dalton_Ruer_12-1764618542473.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Practice&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;If you are anything like me you don't like to assume anything, and you are a visual or experiential learner. So, go ahead and download the attached&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;WildDataFrontier.qvf&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;that is attached, upload it to your environment and open the load script.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_14-1764618774483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185379i13FE91A4CE684F85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_14-1764618774483.png" alt="Dalton_Ruer_14-1764618774483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{ Notice there are multiple sections. Each of them will pertain to a separate article and for this article the section named "&lt;STRONG&gt;&lt;FONT color="#993300"&gt;7 - Structured Array&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;" is the one you want to have at the top of your script. }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Edit line 49 that had 2 data values and a third data value &lt;FONT color="#993300"&gt;&lt;STRONG&gt;, ("7777777", "777") &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;and modify the numRows value from 2 to&lt;/FONT&gt;&lt;STRONG&gt; 3 &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;like this&lt;/FONT&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;'{"table": {"result_set": { "data": (("1307919","3221"), ("1617792","2690")&lt;STRONG&gt;&lt;FONT color="#993300"&gt;, ("7777777", "777")&lt;/FONT&gt;&lt;/STRONG&gt;), "resultSetMetaData": {"format": "jsonv2","numRows": &lt;FONT color="#993300"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt;, "rowType": ({"length": 0,"name": "SHERIFF_BADGE","nullable": true,"precision": 38,"scale": 0,"type": "fixed"},{"length": 0, "name": "TOTAL_BULLETS_USED", "nullable": false,"precision": 18, "scale": 0, "type": "fixed"} ) }, "title": "Top 2 Sheriffs for number of bullets used"} }}'&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Since this solution involved a lot of variables, feel free to use the Debug mode and set breakpoints where you want them so that you can see the values as they are set. Or simply just reload the data after your changes and check out the values in each of the tables created so you can confirm what was done.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_0-1764619307446.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185380iF92F79E926D83BCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_0-1764619307446.png" alt="Dalton_Ruer_0-1764619307446.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 20:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Parsing-Structured-JSON-Arrays/ta-p/2537733</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2025-12-01T20:05:59Z</dc:date>
    </item>
  </channel>
</rss>

