<?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 JSON Extract numeric keys without attributes in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349202#M116207</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem with a JSON file containing weather data. The file is attached. My objective is to extract the data in talend in order to obtain an Excel output file with a timestamp column, an FF column, an LW_D column, an LW_V column, an RR column, an SSI column, a T column, a T_DEW column and a U column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I can't get timestamp values that don't have attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now, I've been using a TextractJsonfields but I can't get the timestamp values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:41:24 GMT</pubDate>
    <dc:creator>PRocque1686642795</dc:creator>
    <dc:date>2024-11-15T21:41:24Z</dc:date>
    <item>
      <title>JSON Extract numeric keys without attributes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349202#M116207</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem with a JSON file containing weather data. The file is attached. My objective is to extract the data in talend in order to obtain an Excel output file with a timestamp column, an FF column, an LW_D column, an LW_V column, an RR column, an SSI column, a T column, a T_DEW column and a U column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I can't get timestamp values that don't have attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now, I've been using a TextractJsonfields but I can't get the timestamp values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349202#M116207</guid>
      <dc:creator>PRocque1686642795</dc:creator>
      <dc:date>2024-11-15T21:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Extract numeric keys without attributes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349203#M116208</link>
      <description>&lt;P&gt;Hi @Paulin Rocque​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I got, you want to extract the element names like "1685966400" but this JSON format is tricky and I believe it won't be possible with tExtractJsonFields alone. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems this JSON was designed to be queried for specific timestamps. With that said, I would try to first extract a list of available timestamps from it. Then with that list of timestamps stored in memory you would be able to iterate over the file and query the weather metrics using expressions like $.1685966400 for example.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 01:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349203#M116208</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-06-14T01:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Extract numeric keys without attributes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349204#M116209</link>
      <description>&lt;P&gt;Hi, thanks for your feedback,&lt;/P&gt;&lt;P&gt;In fact, the aim is to get the timestamps. And these timestamps are never the same, so it's impossible to call them specifically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But yes, one solution could be to extract only the timestamps first, then the rest of the data. But I haven't managed to do that. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 06:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Extract-numeric-keys-without-attributes/m-p/2349204#M116209</guid>
      <dc:creator>PRocque1686642795</dc:creator>
      <dc:date>2023-06-14T06:29:17Z</dc:date>
    </item>
  </channel>
</rss>

