<?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: Missing Fields to extract json in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278804#M54175</link>
    <description>&lt;P&gt;As I explained in my initial post, my JSON is coming from an API, not a file. extractJSONFields does not seem to act in the same way as the component you are using. Are you suggesting that I should create a file of my raw JSON, save it, then read it?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 16:14:29 GMT</pubDate>
    <dc:creator>lizzy1</dc:creator>
    <dc:date>2019-08-13T16:14:29Z</dc:date>
    <item>
      <title>Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278798#M54169</link>
      <description>&lt;P&gt;I am trying to ingest data from an API. Two of the fields are "DateStarted" and "DateCompleted". In the event that the task has been started but not completed, the "DateCompleted" key does not appear. In talend, I am using tExtractJSONFields to read this data, but whenever the "DateCompleted" key is missing, the whole row is skipped. How can I allow for missing keys within tExtractJSONFields? In the schema, I have the fields set as nullable, but it happens regardless.&lt;/P&gt;&lt;P&gt;The API also does report a true/false for "isCompleted" so I can check if the key would be there, if necessary, but I wanted to check if there was a simple way to fix this within tExtractJSONFields&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278798#M54169</guid>
      <dc:creator>lizzy1</dc:creator>
      <dc:date>2019-08-08T20:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278799#M54170</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please share a sample input data file with 5 records and please also specify the expected output from this JSON data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 23:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278799#M54170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-08T23:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278800#M54171</link>
      <description>&lt;P&gt;[&lt;/P&gt;&lt;P&gt;{DateStarted: 05/01/2016,&lt;/P&gt;&lt;P&gt;isCompleted: False},&lt;/P&gt;&lt;P&gt;{DateStarted: 01/23/2017,&lt;/P&gt;&lt;P&gt;DateCompleted: 06/20/2018&lt;/P&gt;&lt;P&gt;isCompleted: True},&lt;/P&gt;&lt;P&gt;{DateStarted: 07/21/2016,&lt;/P&gt;&lt;P&gt;isCompleted: False},&lt;/P&gt;&lt;P&gt;{DateStarted: 03/08/2018,&lt;/P&gt;&lt;P&gt;DateCompleted: 01/20/2019&lt;/P&gt;&lt;P&gt;isCompleted: True},&lt;/P&gt;&lt;P&gt;{DateStarted: 01/01/2017,&lt;/P&gt;&lt;P&gt;DateCompleted: 03/10/2017&lt;/P&gt;&lt;P&gt;isCompleted: True}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I would expect the output to be like&lt;/P&gt;&lt;P&gt;Date Started | Date Completed&lt;/P&gt;&lt;P&gt;05/01/2016 | null&lt;/P&gt;&lt;P&gt;01/23/2017 | 06/20/2018&lt;/P&gt;&lt;P&gt;07/21/2016 | null&lt;/P&gt;&lt;P&gt;03/08/2018 | 01/20/2019&lt;/P&gt;&lt;P&gt;01/01/2017 | 03/10/2017&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 18:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278800#M54171</guid>
      <dc:creator>lizzy1</dc:creator>
      <dc:date>2019-08-09T18:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278801#M54172</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; When I am trying to validate the JSON, its giving me error. Could you please do a quick validation in a JSON validator like JSONLint and share the correct JSON input data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 18:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278801#M54172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-09T18:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278802#M54173</link>
      <description>&lt;P&gt;Here's the valid JSON&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[{&lt;BR /&gt;"DateStarted": "05 / 01 / 2016",&lt;BR /&gt;"isCompleted": "False"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"DateStarted": "01 / 23 / 2017",&lt;BR /&gt;"DateCompleted": "06 / 20 / 2018",&lt;BR /&gt;"isCompleted": "True"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"DateStarted": "07 / 21 / 2016",&lt;BR /&gt;"isCompleted": "False"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"DateStarted": "03 / 08 / 2018",&lt;BR /&gt;"DateCompleted": "01 / 20 / 2019",&lt;BR /&gt;"isCompleted": "True"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"DateStarted": "01 / 01 / 2017",&lt;BR /&gt;"DateCompleted": "03 / 10 / 2017",&lt;BR /&gt;"isCompleted": "True"&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 12:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278802#M54173</guid>
      <dc:creator>lizzy1</dc:creator>
      <dc:date>2019-08-12T12:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278803#M54174</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Apologies for the delay as I was held up with some important tasks.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please refer the solution below. (Note:- Your input JSON is having space in date data. So the output is also reflecting the same way).&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 822px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7af.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141644i856FD74364D42323/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7af.png" alt="0683p000009M7af.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The steps to do create the JSON input file in repository is as below. Right click to create new JSON file and fill the details as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 686px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7ap.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143324i99F8DA03538AB6F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7ap.png" alt="0683p000009M7ap.png" /&gt;&lt;/span&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-center" image-alt="image.png" style="width: 702px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7R5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143411i0FA478245CA745E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7R5.png" alt="0683p000009M7R5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 702px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7au.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130214i61A1039FE23EC737/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7au.png" alt="0683p000009M7au.png" /&gt;&lt;/span&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-center" image-alt="image.png" style="width: 702px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7az.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148560i7CD2ECCC307A3EBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7az.png" alt="0683p000009M7az.png" /&gt;&lt;/span&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-center" image-alt="image.png" style="width: 797px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7b4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134612iED436B9356FF0803/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7b4.png" alt="0683p000009M7b4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Once the repository is created, drag the component to workspace and it will show two options as below. Select the first one and you are ready to read the data!&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 495px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Bn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149807i47AEA886673DF18A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Bn.png" alt="0683p000009M7Bn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I would appreciate if you could spare a second to mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Kudos will be a bonus!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278803#M54174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T16:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278804#M54175</link>
      <description>&lt;P&gt;As I explained in my initial post, my JSON is coming from an API, not a file. extractJSONFields does not seem to act in the same way as the component you are using. Are you suggesting that I should create a file of my raw JSON, save it, then read it?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278804#M54175</guid>
      <dc:creator>lizzy1</dc:creator>
      <dc:date>2019-08-13T16:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278805#M54176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please try second option in that case and feed the input JSON data as input to tExtractJSONFields component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278805#M54176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T16:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278806#M54177</link>
      <description>&lt;P&gt;It fails whenever there is a field missing (dateCompleted), returning a blank row.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278806#M54177</guid>
      <dc:creator>lizzy1</dc:creator>
      <dc:date>2019-08-13T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278807#M54178</link>
      <description>&lt;P&gt;Here you go!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Its working even for tExtractJSONFields component.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 769px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7bJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135296i9DB8D3132750F52F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7bJ.png" alt="0683p000009M7bJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The component screenshots are as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7bO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148878i7BCCA22A43DFD097/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7bO.png" alt="0683p000009M7bO.png" /&gt;&lt;/span&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-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7YG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128961iEDBE7BC62A31E3DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7YG.png" alt="0683p000009M7YG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope I have answered your query. If you are still facing issue, it might be due to problem in the JSON input message.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278807#M54178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T16:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278808#M54179</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPdJAAW"&gt;@lizzy&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please mark the topic as resolved if you were able to resolve the issue?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 00:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278808#M54179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T00:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields to extract json</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278809#M54180</link>
      <description>&lt;P&gt;@Lisa Carpenter​&amp;nbsp;, did you find a solution to this? I'm facing the same issue. Have a field from an API that is sometimes present and sometimes not. &lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 00:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-Fields-to-extract-json/m-p/2278809#M54180</guid>
      <dc:creator>ksuresh1</dc:creator>
      <dc:date>2022-02-10T00:48:01Z</dc:date>
    </item>
  </channel>
</rss>

