<?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: Create JSON structure with multiple values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-JSON-structure-with-multiple-values/m-p/2305370#M77032</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please take a look at this webpage:&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/50PMKM8mz4A5fAL~FQcLHw?section=twritejsonfield_configuring_json_tree" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/50PMKM8mz4A5fAL~FQcLHw?section=twritejsonfield...&lt;/A&gt;?&lt;/P&gt; 
&lt;P&gt;Here is a related topic:&lt;A title="https://community.talend.com/t5/Design-and-Development/Create-array-inside-JSON/m-p/54119" href="https://community.qlik.com/s/feed/0D53p00007vCs0bCAC" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Create-array-inside-JSON/m-p/54119&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 10:54:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-31T10:54:30Z</dc:date>
    <item>
      <title>Create JSON structure with multiple values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-JSON-structure-with-multiple-values/m-p/2305369#M77031</link>
      <description>&lt;P&gt;Hi, I need help with creating JSON structure. I need to get it look like this:&lt;/P&gt; 
&lt;PRE&gt;{&lt;BR /&gt;   "dps":[  

      {  

         "x":1485801000000,

         "y":[  

            37.22,

            37.37,

            36.64,

            36.82

         ]

      },

      {  

         "x":1485714600000,

         "y":[  

            37.74,

            37.84,

            37.33,

            37.42

         ]

      },

      {  

         "x":1485455400000,

         "y":[  

            38.0,

            38.45,

            37.81,

            37.98

         ]

      }&lt;BR /&gt;]&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;It means that there is one loop called "dps" containing array of data. Each part of this loop cantains two elements x and y. X has single value, but Y has multiple values (array).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is how my input data looks like:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;123456789|91.2650|91.7500|89.6600|89.7900&lt;BR /&gt;123456799|89.5000|90.4600|87.0800|87.1800&lt;BR /&gt;123456788|90.6100|94.0000|90.4000|93.7800&lt;BR /&gt;123456777|94.9400|95.1390|88.5100|89.4700&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My x value is in the first column of each row. Y values are stored in other four columns. I tried almost everything with tWriteJsonField but no success came out.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Does anyone have an idea how to deal with it?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 09:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-JSON-structure-with-multiple-values/m-p/2305369#M77031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-14T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create JSON structure with multiple values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-JSON-structure-with-multiple-values/m-p/2305370#M77032</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please take a look at this webpage:&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/50PMKM8mz4A5fAL~FQcLHw?section=twritejsonfield_configuring_json_tree" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/50PMKM8mz4A5fAL~FQcLHw?section=twritejsonfield...&lt;/A&gt;?&lt;/P&gt; 
&lt;P&gt;Here is a related topic:&lt;A title="https://community.talend.com/t5/Design-and-Development/Create-array-inside-JSON/m-p/54119" href="https://community.qlik.com/s/feed/0D53p00007vCs0bCAC" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Create-array-inside-JSON/m-p/54119&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 10:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-JSON-structure-with-multiple-values/m-p/2305370#M77032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-31T10:54:30Z</dc:date>
    </item>
  </channel>
</rss>

