<?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: tExtractJSONFields use expression language for extract data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334158#M102844</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you JSON Path Query is quite right. I achieved the result in 2 tExtractJSONFields components, the 1st one to get the 17th JSON array from the whole response, then adjusted your JSON Path Query:&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;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Tue, 30 Mar 2021 16:40:46 GMT</pubDate>
    <dc:creator>David_Beaty</dc:creator>
    <dc:date>2021-03-30T16:40:46Z</dc:date>
    <item>
      <title>tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334155#M102841</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dynamic json, so I need to extract the data by performing a search with an expression language. The problem is that no data is returned to me. If I put on "Loop Jsonpath query" $. [? ([Attribute_code] == 'cod_cliente')] [0] and in the mapping in the Json query column I insert "value" I don't get results. &lt;/P&gt;&lt;P&gt;If I enter the query on the thousand pages of on-line tests, I get the desired result. is it possible then to use expression languages in Talend?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334155#M102841</guid>
      <dc:creator>feedrss81</dc:creator>
      <dc:date>2024-11-16T00:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334156#M102842</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give an example of the JSON you're reading in and a screenshot of the configured tExtractJSON component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 14:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334156#M102842</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2021-03-30T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334157#M102843</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I uploaded the response1.json file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the configuration of the tExtractJSON&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000DuUOvAAN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128120i22CFC13CBD6C1CA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000DuUOvAAN.jpg" alt="0695b00000DuUOvAAN.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000DuUPAAA3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145665iFC34984B8DFA60F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000DuUPAAA3.jpg" alt="0695b00000DuUPAAA3.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 15:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334157#M102843</guid>
      <dc:creator>feedrss81</dc:creator>
      <dc:date>2021-03-30T15:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334158#M102844</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you JSON Path Query is quite right. I achieved the result in 2 tExtractJSONFields components, the 1st one to get the 17th JSON array from the whole response, then adjusted your JSON Path Query:&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;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 16:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334158#M102844</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2021-03-30T16:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334159#M102845</link>
      <description>&lt;P&gt;Thanks, but I can't see your possible solution. &lt;/P&gt;&lt;P&gt;I used the expression language because the array is dynamic. &lt;/P&gt;&lt;P&gt;So the value searched for some times is in 16th place, others in 17th place.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 07:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334159#M102845</guid>
      <dc:creator>feedrss81</dc:creator>
      <dc:date>2021-03-31T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334160#M102846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, that response JSON is horrible. you will need to pre-process it to extract out just the array that has the key/value pair entries&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 09:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334160#M102846</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2021-03-31T09:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334161#M102847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks, I will ask the agency to change the structure as soon as possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have a second example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I always need to extract a value&lt;/P&gt;&lt;P&gt;x [4] .Properties [0] .Val&lt;/P&gt;&lt;P&gt;in case&lt;/P&gt;&lt;P&gt;x [4] .Properties [0] .PropDefId = 79&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As with the previous problem I have set up a filter&lt;/P&gt;&lt;P&gt;$. [? (Properties.PropDefId == 79)]. Val&lt;/P&gt;&lt;P&gt;It returns me an empty array.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I didn't understand if it is possible to use JSONPath Expressions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of yes I don't understand how they should be set. Or if the Loop JsonPath is to be queried in some particular way.&lt;/P&gt;&lt;P&gt;In the current configuration it is "$"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000DviStAAJ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139504i4CAD066AEA58AB97/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000DviStAAJ.jpg" alt="0695b00000DviStAAJ.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 09:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334161#M102847</guid>
      <dc:creator>feedrss81</dc:creator>
      <dc:date>2021-04-08T09:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields use expression language for extract data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334162#M102848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you're going about this the wrong way - I'd suggest extracting all the column data out of the JSON structure for the key/pair JSON array and using tFilterRow or something similar to filter out the bits you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I say this, is that you're somewhat embedding a certain amount of processing logic in the extraction of the data from the JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a similar problem when extracting data from a Dynamics CRM, Common Data Model structure that has key/value repeating JSON objects in a large JSON array.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 10:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-use-expression-language-for-extract-data/m-p/2334162#M102848</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2021-04-08T10:05:45Z</dc:date>
    </item>
  </channel>
</rss>

