<?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: Creating JSON file with a complex structure (several levels) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234170#M23625</link>
    <description>hi amallek, 
&lt;BR /&gt;I've tried to use tWriteJson Field for some same expectations ... without success (version 5.4.2) 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;As you've said, it's only work for basic structures. 
&lt;BR /&gt;so my workaround is to use external java libs (as com.amazonaws.util.json : I was working with json + dynamoDB). 
&lt;BR /&gt;I'm not sure (and I don't think so) that this component has been improved since that version. 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
    <pubDate>Thu, 27 Aug 2015 14:31:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-27T14:31:54Z</dc:date>
    <item>
      <title>Creating JSON file with a complex structure (several levels)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234169#M23624</link>
      <description>Hello, 
&lt;BR /&gt;I try to create a json file from a data stream. 
&lt;BR /&gt;I created my json file ture in methadata then I build my job as follows: 
&lt;BR /&gt;it did not work, I have the impression that talend only generates a json file to a single level. 
&lt;BR /&gt;is what I can generate my file with this structure? 
&lt;BR /&gt;Can you help me? 
&lt;BR /&gt;thank you in advance. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBTM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155382i8D141DF17676727B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBTM.png" alt="0683p000009MBTM.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 27 Aug 2015 12:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234169#M23624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T12:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating JSON file with a complex structure (several levels)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234170#M23625</link>
      <description>hi amallek, 
&lt;BR /&gt;I've tried to use tWriteJson Field for some same expectations ... without success (version 5.4.2) 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;As you've said, it's only work for basic structures. 
&lt;BR /&gt;so my workaround is to use external java libs (as com.amazonaws.util.json : I was working with json + dynamoDB). 
&lt;BR /&gt;I'm not sure (and I don't think so) that this component has been improved since that version. 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Thu, 27 Aug 2015 14:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234170#M23625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T14:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating JSON file with a complex structure (several levels)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234171#M23626</link>
      <description>Kzone thank you for the quick response. 
&lt;BR /&gt;I also did a search to see if talend can basically manage the json on many levels. 
&lt;BR /&gt;I found your answer that same subject 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoZ9CAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Use-tFileoutputJson-to-create-complex-json-output/td-p/95447&lt;/A&gt;&amp;nbsp;. 
&lt;BR /&gt;I just wanted to be certain that this is not possible with the component talend before starting the dev with a java routine.</description>
      <pubDate>Thu, 27 Aug 2015 15:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234171#M23626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating JSON file with a complex structure (several levels)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234172#M23627</link>
      <description>The only solutions I use in this case are: 
&lt;BR /&gt;1. try the Data Mapper - book a learning lesson before it is very complex! 
&lt;BR /&gt;2. Using the Java API Jackson and build the document with the clear and easy to use Java API in a tJavaRow or tJavaFlex. 
&lt;BR /&gt;I am working on a component writing complex JSON documents from various subjobs. Mostly I do not have all information in one flow, so I need a way to build the whole document in steps. The mentioned Java API is at the moment the best solution.&amp;nbsp;</description>
      <pubDate>Sun, 30 Aug 2015 18:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234172#M23627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-30T18:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating JSON file with a complex structure (several levels)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234173#M23628</link>
      <description>&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;Can someone please tell how to define this Xpath or JSON schema in TALEND ...I am trying to read one sample file with tFileInputJSON ... How to understand the JSON format and write scheme in Talend&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;{&lt;BR /&gt;    "id;firstname;lastname;address;date;revenue;states": "1;Andrew;Cleveland;South Roosevelt Drive;20/01/2005;55239;XX"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;    "id;firstname;lastname;address;date;revenue;states": "2;Franklin;Jefferson;Carpinteria Avenue;19/05/2006;78148;NC"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;    "id;firstname;lastname;address;date;revenue;states": "3;Calvin;Cleveland;Corona Del Mar;28/09/2000;77912;CT"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;    "id;firstname;lastname;address;date;revenue;states": "4;Grover;Ford;Cleveland Ave.;27/11/2001;76036;XX"&lt;BR /&gt;},&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Sep 2015 01:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234173#M23628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-20T01:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating JSON file with a complex structure (several levels)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234174#M23629</link>
      <description>hi milandhore, 
&lt;BR /&gt;have a look at this post about json format &amp;amp; useful 'chemin de fer' - don't know english expression 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.json.org/" rel="nofollow noopener noreferrer"&gt;http://www.json.org/&lt;/A&gt; 
&lt;BR /&gt;easiest way to parse some simple json format is to use metadata talend helper : in metadata , right clic on File Json and follow instruction to map your data. 
&lt;BR /&gt;hope it helps 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 23 Sep 2015 12:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-JSON-file-with-a-complex-structure-several-levels/m-p/2234174#M23629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T12:59:46Z</dc:date>
    </item>
  </channel>
</rss>

