<?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: Parse JSON data in ExtractJSONFields in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493550#M141519</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Traduction" data-ved="2ahUKEwj25fno6o-JAxVqT6QEHXSFGCYQ3ewLegQIChAU" aria-label="Texte traduit&amp;nbsp;: You can parse the json with this jsonpath query like below"&gt;&lt;SPAN class="Y2IQFc"&gt;You can parse the json with this jsonpath query like below&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1732044087448.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174593i8538C03EA5BD84C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1732044087448.png" alt="Dave_Simo_0-1732044087448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_1-1732044114823.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174594iDF43BFE0D28BEFE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_1-1732044114823.png" alt="Dave_Simo_1-1732044114823.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2024 19:23:44 GMT</pubDate>
    <dc:creator>Dave_Simo</dc:creator>
    <dc:date>2024-11-19T19:23:44Z</dc:date>
    <item>
      <title>Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493547#M141518</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am stuck with a JSON output from&amp;nbsp;&lt;SPAN&gt;ExtractJSONFields, I need to parse it to extract:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;total&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;start&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;num&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;nextStart&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;users.username&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;users.email&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;users.disabled&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;from this JSON:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&lt;BR /&gt;"total": 1681,&lt;BR /&gt;"start": 401,&lt;BR /&gt;"num": 100,&lt;BR /&gt;"nextStart": 501,&lt;BR /&gt;"users": [&lt;BR /&gt;{&lt;BR /&gt;"username": "xxxyyyzzzz",&lt;BR /&gt;"udn": null,&lt;BR /&gt;"id": "717c8d888a254505ad4c5b6acf2829d8",&lt;BR /&gt;"fullName": "xxxyyyzzzz",&lt;BR /&gt;"availableCredits": 496.83594,&lt;BR /&gt;"assignedCredits": 500.0,&lt;BR /&gt;"categories": [],&lt;BR /&gt;"emailStatus": "notverified",&lt;BR /&gt;"firstName": "xxx",&lt;BR /&gt;"lastName": "yyyzzzz",&lt;BR /&gt;"preferredView": null,&lt;BR /&gt;"description": null,&lt;BR /&gt;"email": "xxxyyyzzzz9@yahoo.com",&lt;BR /&gt;"userType": "both",&lt;BR /&gt;"idpUsername": null,&lt;BR /&gt;"favGroupId": "5c1d9acdd33f4680ac57aa6ea8cb2d9e",&lt;BR /&gt;"lastLogin": 1626193947000,&lt;BR /&gt;"mfaEnabled": false,&lt;BR /&gt;"mfaEnforcementExempt": false,&lt;BR /&gt;"storageUsage": 62649842,&lt;BR /&gt;"storageQuota": 2199023255552,&lt;BR /&gt;"orgId": "QCH1Le0vwRIyplqB",&lt;BR /&gt;"role": "lKNJsGtwYUDeTAm6",&lt;BR /&gt;"level": "2",&lt;BR /&gt;"userLicenseTypeId": "prqtrstsionalAdvUT",&lt;BR /&gt;"disabled": false,&lt;BR /&gt;"tags": [],&lt;BR /&gt;"culture": "en-US",&lt;BR /&gt;"cultureFormat": "us",&lt;BR /&gt;"region": null,&lt;BR /&gt;"units": "english",&lt;BR /&gt;"thumbnail": null,&lt;BR /&gt;"access": "org",&lt;BR /&gt;"created": 1617650300000,&lt;BR /&gt;"modified": 1727309100000,&lt;BR /&gt;"provider": "testprovider"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"username": "pqrstuv",&lt;BR /&gt;"udn": null,&lt;BR /&gt;"id": "efea0b8b895247bb89e4849ab5d718f6",&lt;BR /&gt;"fullName": "pqrstuv pqrstuv",&lt;BR /&gt;"availableCredits": 999.94,&lt;BR /&gt;"assignedCredits": 1000.0,&lt;BR /&gt;"categories": [],&lt;BR /&gt;"emailStatus": "notverified",&lt;BR /&gt;"firstName": "pqrstuv",&lt;BR /&gt;"lastName": "pqrstuv",&lt;BR /&gt;"preferredView": null,&lt;BR /&gt;"description": null,&lt;BR /&gt;"email": "pqrstuv@test.com",&lt;BR /&gt;"userType": "both",&lt;BR /&gt;"idpUsername": null,&lt;BR /&gt;"favGroupId": "0911c1f1ea804da5a0426460457377d3",&lt;BR /&gt;"lastLogin": 1715922927000,&lt;BR /&gt;"mfaEnabled": false,&lt;BR /&gt;"mfaEnforcementExempt": false,&lt;BR /&gt;"storageUsage": 9265882,&lt;BR /&gt;"storageQuota": 2199023255552,&lt;BR /&gt;"orgId": "QCH1Le0vwRIyplqB",&lt;BR /&gt;"role": "lKNJsGtwYUDeTAm6",&lt;BR /&gt;"level": "2",&lt;BR /&gt;"userLicenseTypeId": "prqtrstsionalAdvUT",&lt;BR /&gt;"disabled": false,&lt;BR /&gt;"tags": [],&lt;BR /&gt;"culture": null,&lt;BR /&gt;"cultureFormat": null,&lt;BR /&gt;"region": null,&lt;BR /&gt;"units": "english",&lt;BR /&gt;"thumbnail": null,&lt;BR /&gt;"access": "org",&lt;BR /&gt;"created": 1706067642000,&lt;BR /&gt;"modified": 1706067642000,&lt;BR /&gt;"provider": "testprovider"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have Loop Jsonpath query = "$"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_0-1732040525752.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174592i14793B6E778F86CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_0-1732040525752.png" alt="himanshup_0-1732040525752.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Out Talend Studio installation version is:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 0px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Segoe UI'; font-size: 9pt; white-space: pre-wrap;"&gt;
&lt;P style="margin: 0;"&gt;Version: 8&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Build id: 20241016_1624-patch&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Nov 2024 18:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493547#M141518</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-11-19T18:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493550#M141519</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Traduction" data-ved="2ahUKEwj25fno6o-JAxVqT6QEHXSFGCYQ3ewLegQIChAU" aria-label="Texte traduit&amp;nbsp;: You can parse the json with this jsonpath query like below"&gt;&lt;SPAN class="Y2IQFc"&gt;You can parse the json with this jsonpath query like below&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1732044087448.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174593i8538C03EA5BD84C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1732044087448.png" alt="Dave_Simo_0-1732044087448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_1-1732044114823.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174594iDF43BFE0D28BEFE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_1-1732044114823.png" alt="Dave_Simo_1-1732044114823.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 19:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493550#M141519</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2024-11-19T19:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493556#M141520</link>
      <description>&lt;P&gt;Thank you Dave_Simo.&lt;BR /&gt;I tried your suggestion, but getting this error message:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;Missing property in path $['users']&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_0-1732047318182.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174595i592AD9B4B3E4FFF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_0-1732047318182.png" alt="himanshup_0-1732047318182.png" /&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, 19 Nov 2024 20:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493556#M141520</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-11-19T20:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493747#M141525</link>
      <description>&lt;P&gt;Hi Dave_Simo,&lt;/P&gt;
&lt;P&gt;I tried your suggestion but am getting this message:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;Missing property in path $['users']&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 19:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493747#M141525</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-11-20T19:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493749#M141527</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;weird did you try with tFileInputJson&lt;/P&gt;
&lt;P&gt;I did not encounter any errors with this component as you can see in my first screenshot above.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 19:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2493749#M141527</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2024-11-20T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2494029#M141536</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My output from tRESTClient is feeding into tExtractJSONFields component.&lt;/P&gt;
&lt;P&gt;With the mapping as shown below,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_0-1732207905223.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174720i6D04B1619F781C2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_0-1732207905223.png" alt="himanshup_0-1732207905223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am getting the following results:&lt;/P&gt;
&lt;P&gt;Starting job &amp;lt; &amp;gt; at 08:52 21/11/2024.&lt;BR /&gt;[statistics] connecting to socket on port 3525&lt;BR /&gt;[statistics] connected&lt;BR /&gt;.-----+-----+---+---------+--------------------------------+--------+----------------------------------.&lt;BR /&gt;| tLogRow_1 |&lt;BR /&gt;|=----+-----+---+---------+--------------------------------+--------+---------------------------------=|&lt;BR /&gt;|total|start|num|nextStart|username |disabled|email |&lt;BR /&gt;|=----+-----+---+---------+--------------------------------+--------+---------------------------------=|&lt;BR /&gt;|null |null |null|null |xxxyyyzzzz |false |xxxyyyzzzz9@yahoo.com |&lt;BR /&gt;|null |null |null|null |pqrstuv |false |pqrstuv@test.com |&lt;BR /&gt;'-----+-----+---+---------+--------------------------------+--------+----------------------------------'&lt;/P&gt;
&lt;P&gt;[statistics] disconnected&lt;/P&gt;
&lt;P&gt;Job &amp;lt; &amp;gt; ended at 08:52 21/11/2024. [Exit code = 0]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;+++++++++++++++++++++++++++++++&lt;/P&gt;
&lt;P&gt;I have masked the actual values from my job for security reasons.&lt;/P&gt;
&lt;P&gt;How ever, to note that the total, start, num and nextStart values are all NULL; we knwo that the inout has non null values for those fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 16:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2494029#M141536</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-11-21T16:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2494033#M141537</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;try putting the total, start, num and nextStart fields into string type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2494033#M141537</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2024-11-21T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parse JSON data in ExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2494038#M141538</link>
      <description>&lt;P&gt;Hello Dave_Simo,&lt;/P&gt;
&lt;P&gt;I ended up using this configuration (two tExtractJSONField components):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himanshup_1-1732209407497.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174729iD72EC58405CF2543/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_1-1732209407497.png" alt="himanshup_1-1732209407497.png" /&gt;&lt;/span&gt;&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="himanshup_2-1732209435299.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174730iF9C54CDBD339C7B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himanshup_2-1732209435299.png" alt="himanshup_2-1732209435299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it returned the data as I was expecting. Thank you very much for your guidance.&lt;/P&gt;
&lt;P&gt;Have a great day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-JSON-data-in-ExtractJSONFields/m-p/2494038#M141538</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-11-21T17:18:24Z</dc:date>
    </item>
  </channel>
</rss>

