<?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: How to parse and extract JSON data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-parse-and-extract-JSON-data/m-p/2270025#M48072</link>
    <description>&lt;P&gt;Was able to figure this out actually very simply.&amp;nbsp; I should have played with Xpath before asking...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwqG"&gt;textractjson.PNG&lt;/A&gt;</description>
    <pubDate>Mon, 30 Sep 2019 16:04:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-30T16:04:17Z</dc:date>
    <item>
      <title>How to parse and extract JSON data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-parse-and-extract-JSON-data/m-p/2270024#M48071</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a fairly simple issue that I'm struggling to understand.&amp;nbsp; I have a straightforward job (shown below) and I'm trying to loop through the JSON output (also below) and eventually use a tMap and push to a DB.&amp;nbsp; I'm having an issue due to the fact that I don't understand the tExtractJSONFields component thoroughly, nor the difference between the read by options "JsonPath" vs "Xpath".&amp;nbsp; I've attached the job I have (without the tmap), the JSON structure and the desired output.&amp;nbsp; I was hoping to have some help on this as well as some clarification on whether or not my thinking is correct on the components I have selected?&amp;nbsp; Also we're on version 6.2.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"paging": {&lt;BR /&gt;"pageIndex": 1,&lt;BR /&gt;"pageSize": 1000,&lt;BR /&gt;"total": 113&lt;BR /&gt;},&lt;BR /&gt;"measures": [&lt;BR /&gt;{&lt;BR /&gt;"metric": "METRIC1",&lt;BR /&gt;"history": [&lt;BR /&gt;{&lt;BR /&gt;"date": "DATE1",&lt;BR /&gt;"value": "VALUE1"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"date": "DATE2",&lt;BR /&gt;"value": "VALUE2"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"date": "DATE3",&lt;BR /&gt;"value": "VALUE3"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"metric": "METRIC2",&lt;BR /&gt;"history": [&lt;BR /&gt;{&lt;BR /&gt;"date": "DATE4",&lt;BR /&gt;"value": "VALUE4"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"date": "DATE5",&lt;BR /&gt;"value": "VALUE5"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"date": "DATE6",&lt;BR /&gt;"value": "VALUE6"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-parse-and-extract-JSON-data/m-p/2270024#M48071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse and extract JSON data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-parse-and-extract-JSON-data/m-p/2270025#M48072</link>
      <description>&lt;P&gt;Was able to figure this out actually very simply.&amp;nbsp; I should have played with Xpath before asking...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwqG"&gt;textractjson.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 30 Sep 2019 16:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-parse-and-extract-JSON-data/m-p/2270025#M48072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-30T16:04:17Z</dc:date>
    </item>
  </channel>
</rss>

