<?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 Parsing JSON with tExtractJSONFields in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303465#M75344</link>
    <description>&lt;P&gt;I have this JSON that I made up&lt;/P&gt;
&lt;PRE&gt;{ "store": {
    "book": [ 
      { "category": "reference",
        "author": "Nigel Rees",
        "title": "Sayings of the Century",
        "price": 8.95
      },
      { "category": "fiction",
        "author": "Evelyn Waugh",
        "title": "Sword of Honour",
        "price": 12.99
      },
      { "category": "fiction",
        "author": "Herman Melville",
        "title": "Moby **bleep**",
        "isbn": "0-553-21311-3",
        "price": 8.99
      },
      { "category": "fiction",
        "author": "J. R. R. Tolkien",
        "title": "The Lord of the Rings",
        "isbn": "0-395-19395-8",
        "price": [
			{ "EU":22.99},
			{ "US":72.3 },
			{ "BIH":5.80}
		]
      }
    ],
    "bicycle": {
      "color": "red",
      "price": 19.95
    }
  }
}&lt;/PRE&gt;
&lt;P&gt;Is it possible that I can use tExtractJSONFields&amp;nbsp; to get every book in its own row ? How can I do that ?&lt;/P&gt;
&lt;P&gt;My end goal the is to go through each of that row and get prices.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:24:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:24:22Z</dc:date>
    <item>
      <title>Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303465#M75344</link>
      <description>&lt;P&gt;I have this JSON that I made up&lt;/P&gt;
&lt;PRE&gt;{ "store": {
    "book": [ 
      { "category": "reference",
        "author": "Nigel Rees",
        "title": "Sayings of the Century",
        "price": 8.95
      },
      { "category": "fiction",
        "author": "Evelyn Waugh",
        "title": "Sword of Honour",
        "price": 12.99
      },
      { "category": "fiction",
        "author": "Herman Melville",
        "title": "Moby **bleep**",
        "isbn": "0-553-21311-3",
        "price": 8.99
      },
      { "category": "fiction",
        "author": "J. R. R. Tolkien",
        "title": "The Lord of the Rings",
        "isbn": "0-395-19395-8",
        "price": [
			{ "EU":22.99},
			{ "US":72.3 },
			{ "BIH":5.80}
		]
      }
    ],
    "bicycle": {
      "color": "red",
      "price": 19.95
    }
  }
}&lt;/PRE&gt;
&lt;P&gt;Is it possible that I can use tExtractJSONFields&amp;nbsp; to get every book in its own row ? How can I do that ?&lt;/P&gt;
&lt;P&gt;My end goal the is to go through each of that row and get prices.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303465#M75344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303466#M75345</link>
      <description>&lt;P&gt;Yes, this is very possible.&lt;/P&gt;
&lt;P&gt;Just set your "loop jsonPath query" to&amp;nbsp;"$.store.book[*]" and then you can extract each of the entities within the book loop by simply placing the name exactly as it appears within quotes in the mapping section. For example....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"category"&lt;/P&gt;
&lt;P&gt;"author"&lt;/P&gt;
&lt;P&gt;"title"&lt;/P&gt;
&lt;P&gt;"price"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 20:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303466#M75345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-16T20:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303467#M75346</link>
      <description>I am facing similar issue. could you please suggest how to fetch data for color under Bicycle for every record using JSONpath. I am able to do it using XPath but facing issue fetching data from TRest --&amp;gt; TExtractJSONFeilds(using XPath)&lt;BR /&gt;&lt;BR /&gt;So, I need a solution to fetch records from parent node. I wish to Loop the data under Book.&lt;BR /&gt;&lt;BR /&gt;Please treat this as urgent !!!</description>
      <pubDate>Wed, 06 Mar 2019 16:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303467#M75346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303468#M75347</link>
      <description>&lt;P&gt;I suspect that the issue here is that XPath allows you to traverse up and down the hierarchy (parent/child elements) and JsonPath does not allow you to traverse back to ancestors. A way of doing this with JsonPath is explained in this post....&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kXwLCAU#M93137" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/downloading-JSON-in-structured-format/m-p/152397/highlight/true#M93137&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 17:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303468#M75347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T17:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303469#M75348</link>
      <description>Thank you so much for your response. I spent many hours struggling for this solution.&lt;BR /&gt;This is really helpful.</description>
      <pubDate>Thu, 07 Mar 2019 15:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303469#M75348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303470#M75349</link>
      <description>&lt;P&gt;No problem at all &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303470#M75349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303471#M75350</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am facing one more issue with JSON parsing.&lt;/P&gt; 
&lt;P&gt;When I implement the logic to read data under Book, the records having empty array ( Book [] ) is getting filtered.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output I expect is, Parent record should be populated as it is having data for all columns and Null or [] for Book column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;PFA... output of tExtractJSON_10 should pass 55 or more records because of the loop. But all the records having "Book []" are getting rejected.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please suggest to proceed.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuR0"&gt;Record_Flow.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 26 Apr 2019 14:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303471#M75350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-26T14:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303472#M75351</link>
      <description>&lt;P&gt;Any suggestions on this would be very helpful... Awaiting for the response&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 10:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303472#M75351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T10:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303473#M75352</link>
      <description>&lt;P&gt;I think this is because your initial "&lt;SPAN&gt;loop jsonPath query" is "$.store.book[*]". Since this returns nothing, there will be no data returned. You probably need a tExtractJSONFields component before one dealing with the book data and set it's "loop jsonPath query" to "$.store". You then need to retrieve the data you are missing AND the book array in different columns. Then in the following tExtractJSONFields component, extract your data from the book array column and simply pass the other data through with it. You can see an example of this here:&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kF24CAE#M17361" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/JSON-Array-values-to-Rows-is-there-a-better-way/m-p/52347/highlight/true#M17361&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 10:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303473#M75352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303474#M75353</link>
      <description>&lt;P&gt;Please refer the solution you provided for similar scenario which helped me till now&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kXwLCAU#M93137" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/Design-and-Development/downloading-JSON-in-structured-format/m-p/152397/highlight/true#M93137&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Suppose, we have one more record with ActionID 410788 having array as NULL for Allocations[] , if I use the logic mentioned in this URL, its not loading any record for ActionID 410788.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But the o/p I expect is, a record into target with ActionID 410788 and AllocTargetID, Alloc_Fscl_yr as NULL&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Expected o/p:&lt;BR /&gt;ActionID AllocTargetID Alloc_Fscl_yr&lt;BR /&gt;410788 NULL NULL&lt;BR /&gt;410766 82373 2018&lt;BR /&gt;410766 82378 2020&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;I/P:&lt;/P&gt; 
&lt;PRE&gt;Actions:[
{
"ActionID": 410788
"Allocations":[]&amp;nbsp;
}
{
"ActionID": 410766
"Allocations":[
{
"AllocTargetID": 82373,
"Fiscal_Year" : 2018
}
{
"AllocTargetID": 82378,
"Fiscal_Year" : 2020
}
]&amp;nbsp;
&amp;nbsp; }
]&lt;/PRE&gt; 
&lt;P&gt;My tExtractJSON_1 have -&lt;BR /&gt;Loop JSONPath query as "Actions[*]"&lt;BR /&gt;Column ActionID have JSON query as "$.ActionID"&lt;BR /&gt;Column Allocations have JSON query as "$.Allocations"&lt;BR /&gt;&lt;BR /&gt;My tExtractJSON_2 have -&lt;BR /&gt;JSON Field as Actions&lt;BR /&gt;Loop JSONPath query as "$.[*]"&lt;BR /&gt;Column AllocTargetID have JSON query as "$.AllocTargetID"&lt;BR /&gt;Column Alloc_Fscl_yr have JSON query as "$.Fiscal_Year"&lt;BR /&gt;&lt;BR /&gt;Your immediate suggestion would be very helpful&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 12:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303474#M75353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T12:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303475#M75354</link>
      <description>&lt;P&gt;I see your problem. First of all, you have a problem with your JSON. I think this is what your JSON should look like.....&lt;/P&gt; 
&lt;PRE&gt;{  
   "Actions":[  
      {  
         "ActionID":410788,
         "Allocations":[  

         ]
      },
      {  
         "ActionID":410766,
         "Allocations":[  
            {  
               "AllocTargetID":82373,
               "Fiscal_Year":2018
            },
            {  
               "AllocTargetID":82378,
               "Fiscal_Year":2020
            }
         ]
      }
   ]
}&lt;/PRE&gt; 
&lt;P&gt;The JSON you posted is not valid JSON.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Apart from that issue (I assume caused by copying and pasting), you do have a point in that it is difficult to push rows through a tExtractJSONField component where the "Look JSONPath Query" returns nothing. This is the case for your empty array. But there is a workaround for this. I built a job as shown below...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-04-29 at 17.40.11.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4v4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142034iDC95C018E42AE78C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4v4.png" alt="0683p000009M4v4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tJavaFlex is just where I added your JSON. I won't show that. The example I used is above.&lt;/P&gt; 
&lt;P&gt;The first tExtractJSONFields component looks like below.....&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-04-29 at 17.40.25.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4vD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129547iCAFE78649F7A85ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4vD.png" alt="0683p000009M4vD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This should be pretty easy to understand.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tJavaRow is where the workaround takes place. The code looks like this.....&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-04-29 at 17.40.33.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4nk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131648iB255C4B18F0D4F83/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4nk.png" alt="0683p000009M4nk.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Essentially, what I am doing is passing through the ActionID as normal, but adding ....&lt;/P&gt; 
&lt;PRE&gt;{"Allocations":&lt;/PRE&gt; 
&lt;P&gt;....and ....&lt;/P&gt; 
&lt;PRE&gt;}&lt;/PRE&gt; 
&lt;P&gt;...around the array "[]" passed on. If the array looks like this "[]" I am substituting it with this....&lt;/P&gt; 
&lt;PRE&gt;[empty]&lt;/PRE&gt; 
&lt;P&gt;What this does is cause the tExtractJSONField component to try to process the array. It won't find anything for "empty", but it means that a row is passed through anyway. This row carries your ActionID.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tExtractJSONField component after the tJavaRow looks like this...&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-04-29 at 17.45.33.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4vS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148409iE793124B65A9C683/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4vS.png" alt="0683p000009M4vS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Pay attention to the JSONPaths.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When it runs, the following is output....&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-04-29 at 17.40.17.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4W5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146679i4143DA5D7FDD2B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4W5.png" alt="0683p000009M4W5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 17:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303475#M75354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T17:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303476#M75355</link>
      <description>Thank you for the details. Will give a try and let you know.
&lt;BR /&gt;
&lt;BR /&gt;My json have private information, so just modified your existing json and
&lt;BR /&gt;pasted here.
&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Apr 2019 20:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303476#M75355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T20:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303477#M75356</link>
      <description>&lt;P&gt;I thought there would be a reason for the JSON not being quite correct. Let me know how you get on &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 22:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303477#M75356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T22:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303478#M75357</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;Your suggestion to use tJavaRow for Null check worked like a charm. Thank you so much.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;I do not find any difference in the functionality with the value used for 'Loop JSON Path query' as "$.Allocations[*]" or "$.[*]"&amp;nbsp; having JSON Field as Allocations&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks a lot again &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.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>Thu, 30 May 2019 14:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303478#M75357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-30T14:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303479#M75358</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;i have a similar problem with extracting JSON.&lt;/P&gt; 
&lt;P&gt;I get a REST API response that looks like this but my tExtractJSONFields delivers 0 rows.&lt;/P&gt; 
&lt;P&gt;When i try&amp;nbsp;$.[*].basicData.firstName&amp;nbsp;@&lt;A href="http://www.jsonquerytool.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.jsonquerytool.com/&lt;/A&gt;&amp;nbsp;i get the correct data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thx in advance for your ideas&lt;/P&gt; 
&lt;P&gt;Stefan&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[
  {
    "updateFields": null,
    "id": 2,
    "externalIdentifier": null,
    "externalVersion": null,
    "externalSource": null,
    "entityVersion": 35,
    "basicData": {
      "updateFields": null,
      "firstName": "Renate",
      "firstName2": null,
      "lastName": "Test",
      "personTypes": [
        "Employee"
      ],
      "companyMembershipIds": [],
      "profilePictureUuid": "f4377dbb-3ab0-4565-a1b3-856d22c90a6d",
      "deleted": false
    },
    "personalData": null,
    "privateData": null,
    "privacySettings": null,
    "assignmentsOverview": null,
    "user": {
      "updateFields": null,
      "id": 2,
      "enabled": true,
      "username": "rtest",
    },
    "currentCareers": null,
    "pastCareers": null,
    "futureCareers": null
  },
  {
    "updateFields": null,
    "id": 3,
    "externalIdentifier": null,
    "externalVersion": null,
    "externalSource": null,
    "entityVersion": 18,
    "basicData": {
      "updateFields": null,
      "firstName": "Stefan",
      "firstName2": null,
      "lastName": "Muster",
      "personTypes": [
        "Employee"
      ],
      "companyMembershipIds": [],
      "profilePictureUuid": "68b76185-0d1e-4301-b1e7-cd8db30496c6",
      "deleted": false
    },
    "personalData": null,
    "privateData": null,
    "privacySettings": null,
    "assignmentsOverview": null,
    "user": {
      "updateFields": null,
      "id": 5,
      "enabled": true,
      "username": "smuster",
    },
    "currentCareers": null,
    "pastCareers": null,
    "futureCareers": null
  }&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="17-03-_2020_15-28-06.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Wj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148507i80E0DA1E131D5977/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Wj.png" alt="0683p000009M9Wj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 14:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303479#M75358</guid>
      <dc:creator>PITadmin</dc:creator>
      <dc:date>2020-03-17T14:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303480#M75359</link>
      <description>&lt;P&gt;Just found out that my tRestClient does not deliver JSON but XML!?&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 09:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303480#M75359</guid>
      <dc:creator>PITadmin</dc:creator>
      <dc:date>2020-03-18T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303481#M75360</link>
      <description>&lt;P&gt;What is the configuration of your tRestClient? In the "Advanced Settings" do you have "Convert Response To DOM Document" ticked?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 10:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303481#M75360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-18T10:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303482#M75361</link>
      <description>&lt;P&gt;Yes that helped - now it ist responding in JSON format&lt;/P&gt;&lt;P&gt;Thx a lot&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303482#M75361</guid>
      <dc:creator>PITadmin</dc:creator>
      <dc:date>2020-03-18T13:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303483#M75362</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I want to implement if then else condition in the schema mapping .( Eg: if id=245 then firstname else null)&lt;/P&gt;&lt;P&gt;I tried using it fieldValues[?(@.id==2645)].value to fetch value fieldValues if id==2645.&lt;/P&gt;&lt;P&gt;The result is coming up as []. I am expecting some value but getting empty array.&lt;/P&gt;&lt;P&gt;Sample json:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"type": customobject,&lt;/P&gt;&lt;P&gt;"id":1234,&lt;/P&gt;&lt;P&gt;"fieldValues": [&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"type":FieldValue&lt;/P&gt;&lt;P&gt;"id":2654&lt;/P&gt;&lt;P&gt;"value": carl&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"type":FieldValue&lt;/P&gt;&lt;P&gt;"id":2655&lt;/P&gt;&lt;P&gt;"value": Maxx&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"type":FieldValue&lt;/P&gt;&lt;P&gt;"id":2656&lt;/P&gt;&lt;P&gt;"value": software Engineer&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{},&lt;/P&gt;&lt;P&gt;{},&lt;/P&gt;&lt;P&gt;],&lt;/P&gt;&lt;P&gt;"iSMapped":yes&lt;/P&gt;&lt;P&gt;"uniqcode":"CONT-23333"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me its urgent.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 17:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303483#M75362</guid>
      <dc:creator>swetha_molaka1</dc:creator>
      <dc:date>2023-06-15T17:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON with tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303484#M75363</link>
      <description>&lt;P&gt;Thanks! it helped&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-with-tExtractJSONFields/m-p/2303484#M75363</guid>
      <dc:creator>Jennifer_siders</dc:creator>
      <dc:date>2023-11-24T10:54:25Z</dc:date>
    </item>
  </channel>
</rss>

