<?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: [resolved] tFileOutputJSON - How to change order of fields in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234365#M23753</link>
    <description>Hi
&lt;BR /&gt;I tested and got the same issue, as alternative solution, you can use tWriteJsonFiled+tFileOutputDelimited to generate a json file, tWriteJsonFiled provides a visual GUI that allows you to configure the json structure more easy. eg:
&lt;BR /&gt;...tWriteJsonField--main--tFileOutputDelimtied</description>
    <pubDate>Thu, 05 Nov 2015 01:23:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-05T01:23:09Z</dc:date>
    <item>
      <title>[resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234362#M23750</link>
      <description>Title says it mostly. To specify, my incoming rows are already arranged in their proper arrangement, but how come they are scrambled up once the JSON file was generated? (i.e. they are not in the order of the input rows). 
&lt;BR /&gt;Thanks in advance,</description>
      <pubDate>Mon, 02 Nov 2015 06:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234362#M23750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-02T06:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234363#M23751</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;Can you please show us an example to explain your problem? What is the result you are getting and what are you expected result?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 03 Nov 2015 06:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234363#M23751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-03T06:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234364#M23752</link>
      <description>Hello, 
&lt;BR /&gt;Here is a breakdown of the order: 
&lt;BR /&gt; 
&lt;BR /&gt;tLogRow output to print values before creating JSON file: 
&lt;BR /&gt;+----------------+-----------+ 
&lt;BR /&gt;| key &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| value &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;+----------------+-----------+ 
&lt;BR /&gt;| givenName &amp;nbsp; &amp;nbsp; &amp;nbsp;| BRIDGITTE | 
&lt;BR /&gt;| surname &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| TIMPSON &amp;nbsp; | 
&lt;BR /&gt;| Sex &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Female &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;| Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Passport &amp;nbsp;| 
&lt;BR /&gt;| Code1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| P &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;| Code2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;| birthDate &amp;nbsp; &amp;nbsp; &amp;nbsp;| {30/2/99} | 
&lt;BR /&gt;| documentNumber | 308722518 | 
&lt;BR /&gt;| expirationDate | {1/1/16} &amp;nbsp;| 
&lt;BR /&gt;| format &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | PASSPORT &amp;nbsp;| 
&lt;BR /&gt;| issuingCountry | GBR &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;| nationality &amp;nbsp; &amp;nbsp;| GBR &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;+----------------+-----------+ 
&lt;BR /&gt; 
&lt;BR /&gt;JSON file structure: 
&lt;BR /&gt;{ 
&lt;BR /&gt;&amp;nbsp; "MRZ Fields": 
&lt;BR /&gt;} 
&lt;BR /&gt;How come they are not in order? My Job simply has tJavaRow -- tLogRow -- tFileOutputJSON as components, with all columns being propagated to the next component.</description>
      <pubDate>Wed, 04 Nov 2015 01:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234364#M23752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T01:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234365#M23753</link>
      <description>Hi
&lt;BR /&gt;I tested and got the same issue, as alternative solution, you can use tWriteJsonFiled+tFileOutputDelimited to generate a json file, tWriteJsonFiled provides a visual GUI that allows you to configure the json structure more easy. eg:
&lt;BR /&gt;...tWriteJsonField--main--tFileOutputDelimtied</description>
      <pubDate>Thu, 05 Nov 2015 01:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234365#M23753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T01:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234366#M23754</link>
      <description>Atleast I know its not some bug that only I was experiencing.&lt;BR /&gt;So does this mean my job would now look like:&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tJavaRow -- tLogRow --&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tWriteJsonField -- tFileOutputDelimited&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234366#M23754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234367#M23755</link>
      <description>Yes, let me know if you are able to generate the json file as expected.&amp;nbsp;</description>
      <pubDate>Thu, 05 Nov 2015 09:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234367#M23755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T09:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234368#M23756</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi&lt;BR /&gt;I tested and got the same issue, as alternative solution, you can use tWriteJsonFiled+tFileOutputDelimited to generate a json file, tWriteJsonFiled provides a visual GUI that allows you to configure the json structure more easy. eg:&lt;BR /&gt;...tWriteJsonField--main--tFileOutputDelimtied&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;i tried this solution but the field names(column names) we have to add manually in&amp;nbsp;tWriteJsonField. 
&lt;BR /&gt;I mean while entering the schema we have to add field names manually. 
&lt;BR /&gt;schemas are not auto generated nor copyable 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;if i have a file with 100 columns. just imagine how much work i have to do. this was the situation i am facing ri8 now. please tell me any other solution.</description>
      <pubDate>Wed, 30 Dec 2015 11:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234368#M23756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-30T11:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileOutputJSON - How to change order of fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234369#M23757</link>
      <description>Hi vhkhari&amp;nbsp;
&lt;BR /&gt;To generate a Json file, we can use tFileOutputJson or tWriteJsonFields+tFileOutputDelimited, no other component can be used to write a Json file now.&amp;nbsp;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 05 Jan 2016 02:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileOutputJSON-How-to-change-order-of-fields/m-p/2234369#M23757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T02:03:19Z</dc:date>
    </item>
  </channel>
</rss>

