<?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 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282637#M56767</link>
    <description>&lt;P&gt;First of all, what error message do you get while trying to read an none existing attribute.&lt;/P&gt;&lt;P&gt;In general I would try to filter the objets by attributes identifying the type and extract the needed values from the filtered objects.&lt;/P&gt;&lt;P&gt;Could you please post an example of such an JSON response and do not forget posting here the error you get (my first question).&lt;/P&gt;</description>
    <pubDate>Sun, 05 Apr 2020 20:52:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-05T20:52:36Z</dc:date>
    <item>
      <title>tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282636#M56766</link>
      <description>&lt;P&gt;Hi, I looking for some design help..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So currently I have tKafkaInput --&amp;gt; tExtractJSONFields. Works great. Then a crinkle came in where the kafka topic is now sending different JSON schemas depending on the type of message. So from what I've read/understand, if I have an array within a JSON payload, I have path to that array via the "Loop Jsonpath query" textbox in the component, to parse the array. Well the issue arises when I first mentioned the kafka topic sending totally different schemas (again depending on the message type), so in&amp;nbsp;tExtractJSONFields when I path to the toRecipients array (this message related to emails), I get an error when the message being received is not an email message, because the other message type doesn't have a toRecipients array!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any suggestions, how I can parse only the email messages from Kafka? Should I send the JSON to SQL Server, filtering only on email types, and parse it from there somehow. Or is there a way to use back to back tExtractJSONFields? I can store the whole JSON payload in a field and then parse the field in another&amp;nbsp;tExtractJSONFields? Or some other way?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282636#M56766</guid>
      <dc:creator>jimbo20814</dc:creator>
      <dc:date>2024-11-16T02:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282637#M56767</link>
      <description>&lt;P&gt;First of all, what error message do you get while trying to read an none existing attribute.&lt;/P&gt;&lt;P&gt;In general I would try to filter the objets by attributes identifying the type and extract the needed values from the filtered objects.&lt;/P&gt;&lt;P&gt;Could you please post an example of such an JSON response and do not forget posting here the error you get (my first question).&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 20:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282637#M56767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-05T20:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282638#M56768</link>
      <description>&lt;P&gt;Thanks all this has been resolved. I just had to use several tExtractJSON components passing payloads between each, filtering based on certain properties between each.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 20:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields/m-p/2282638#M56768</guid>
      <dc:creator>jimbo20814</dc:creator>
      <dc:date>2020-04-06T20:54:48Z</dc:date>
    </item>
  </channel>
</rss>

