<?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: Parsing JSON list in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349858#M116786</link>
    <description>&lt;P&gt;Thank you for the example, it helped a lot. I appreciate you. I also would like to help you. If you are searching for thesis writing services online then you can visit this &lt;A href="https://academized.com/thesis-writing-service" alt="https://academized.com/thesis-writing-service" target="_blank"&gt;https://academized.com/thesis-writing-service&lt;/A&gt; link where you can easily find professional essay writers who will help you with all your essay assignments. I am also using their professional essay writers to write my essay assignments because they give me my essay assignments on time.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 10:27:23 GMT</pubDate>
    <dc:creator>JSpence1684138720</dc:creator>
    <dc:date>2023-09-15T10:27:23Z</dc:date>
    <item>
      <title>Parsing JSON list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349855#M116783</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need your help as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am parsing this JSON:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"id": 333444,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"applications": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"id": 123456,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"attachments": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"filename": "Cover Letter.docx",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"url": "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"type": "cover_letter",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"created_at": "2023-03-07T10:07:01.491Z"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"filename": "CV.pdf",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"url": "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"type": "resume",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"created_at": "2023-03-07T10:07:01.302Z"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;],&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;using T ExtractJSONFields component as you can see in this picture :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000de5HcAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135587i345E6F4352F94251/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000de5HcAAI.png" alt="0695b00000de5HcAAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;them I am using a Tmap to map data in a sql table (using TDBOutput)&lt;/P&gt;&lt;P&gt;it works, but all values are stored in the same column : for example the value in the cover column is ["cover_letter","resume"]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how I achieve to get n lines, depending on the nbr of values?&lt;/P&gt;&lt;P&gt;(in this case I would like to have 2 lines, one for cover_letter, one for resume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349855#M116783</guid>
      <dc:creator>stagliaferri1640766615</dc:creator>
      <dc:date>2024-11-15T22:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349856#M116784</link>
      <description>&lt;P&gt;Hi @sergio tagliaferri​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, the JSON you have provided is slightly wrong. But I will put that down to a copying error. I have adjusted it to this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;"id": 333444,&lt;/P&gt;&lt;P&gt;&amp;nbsp;"applications": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"id": 123456,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"attachments": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"filename": "Cover Letter.docx",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"url": "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"type": "cover_letter",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"created_at": "2023-03-07T10:07:01.491Z"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"filename": "CV.pdf",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"url": "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"type": "resume",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"created_at": "2023-03-07T10:07:01.302Z"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was an extra comma and no closing square bracket for the outer loop. I have added these to test this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of the job that I created to do this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000deBYFAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156641i7B27DB5F13E53CDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000deBYFAA2.png" alt="0695b00000deBYFAA2.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used 2 tExtractJSONFields. The first to deal with the outer loop, the second to deal with the inner loop. The first is configured like this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000deBYeAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128956i8B8199103DDD4CE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000deBYeAAM.png" alt="0695b00000deBYeAAM.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See I am looping on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$.applications[*]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am then extracting the "id" and then the "attachments" inner loop. These values are passed to the next tExtractJSONFields component, shown here....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000deBZIAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133212iBFD6857454A754AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000deBZIAA2.png" alt="0695b00000deBZIAA2.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the loop jsonpath query. I am simply using...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$[*]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...because only the looping section is passed through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then extract all of the fields from within the loop. Notice the "application_id" Json query is empty. This is because the value is just passed through from the first tExtractJSONFields component. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result looks like this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Starting job TestJSON123 at 00:18 09/03/2023.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3354&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;123456|Cover Letter.docx||cover_letter&lt;/P&gt;&lt;P&gt;123456|CV.pdf||resume&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Job TestJSON123 ended at 00:18 09/03/2023. [Exit code&amp;nbsp;= 0]&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 00:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349856#M116784</guid>
      <dc:creator>rhall1</dc:creator>
      <dc:date>2023-03-09T00:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349857#M116785</link>
      <description>&lt;P&gt;Hello @Richard Hall​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry the JSON format I provided.&lt;/P&gt;&lt;P&gt;Thank you very much for helping me out, your solution works.&lt;/P&gt;&lt;P&gt;And the explanation is very clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciated it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;sergio&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 02:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349857#M116785</guid>
      <dc:creator>stagliaferri1640766615</dc:creator>
      <dc:date>2023-03-09T02:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing JSON list</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349858#M116786</link>
      <description>&lt;P&gt;Thank you for the example, it helped a lot. I appreciate you. I also would like to help you. If you are searching for thesis writing services online then you can visit this &lt;A href="https://academized.com/thesis-writing-service" alt="https://academized.com/thesis-writing-service" target="_blank"&gt;https://academized.com/thesis-writing-service&lt;/A&gt; link where you can easily find professional essay writers who will help you with all your essay assignments. I am also using their professional essay writers to write my essay assignments because they give me my essay assignments on time.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 10:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parsing-JSON-list/m-p/2349858#M116786</guid>
      <dc:creator>JSpence1684138720</dc:creator>
      <dc:date>2023-09-15T10:27:23Z</dc:date>
    </item>
  </channel>
</rss>

