<?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: headers in twriteJSONField in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278420#M53903</link>
    <description>&lt;P&gt;The problem came from the "array" i read too much solutions and fused them too much&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-inline" image-alt="soluce_WriteJSON.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8HE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143897iFFA5C9E3B143366B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8HE.jpg" alt="0683p000009M8HE.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 10:37:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-31T10:37:04Z</dc:date>
    <item>
      <title>headers in twriteJSONField</title>
      <link>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278419#M53902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I'm trying to use the tWriteJSONField component.&lt;/P&gt; 
&lt;P&gt;It's doing what i want but i don't have the headers in my rows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The process is pretty simple but i don't understand where i do something wrong&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="process.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Bp.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147841i5CB4E35D7D440925/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Bp.jpg" alt="0683p000009M8Bp.jpg" /&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-inline" image-alt="tWriteJSON" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8xS.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133356iDF9035EC74D1F13A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8xS.jpg" alt="0683p000009M8xS.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tWriteJSON&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;And here is the result&lt;/P&gt; 
&lt;P&gt;{"trucks":["VO","K 360 IB4X2NB",["01483","CARROSSERIE","HIGER",[]],["00448","CONFIGURATION ESSIEUX","4X2",[]],["01503","CARROSSERIE","HIGER",[]],["06526","ORDINATEUR DE BORD","AFFICHAGE KM/H",[]],["02471","NIVEAU EMISSION","EEV",[]],["02301","ORDINATEUR DE BORD","AFFICHAGE KM/H",[]],["00668","PNEUMATIQUES 2E ESSIEU AR","295/80 R22.5",[]],["00666","PNEUMATIQUES ESSIEU AV","295/80 R22.5",[]],["00111","RETARDER","SCANIA",[]],["00020","BLOCAGE DIFFERENTIEL","AVEC",[]]]}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;why i don't have my headers in my json?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278419#M53902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-31T10:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: headers in twriteJSONField</title>
      <link>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278420#M53903</link>
      <description>&lt;P&gt;The problem came from the "array" i read too much solutions and fused them too much&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-inline" image-alt="soluce_WriteJSON.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8HE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143897iFFA5C9E3B143366B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8HE.jpg" alt="0683p000009M8HE.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278420#M53903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-31T10:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: headers in twriteJSONField</title>
      <link>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278421#M53904</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I resolved your problem, inspire you from my config :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wrtiejsonTALEND.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8xX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146925iEBF0DCE54EBA85B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8xX.png" alt="0683p000009M8xX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;i have seen you have null values wrote with 2 brackets "[]", avoid this by setting a class attribute to object to the fields that might be null, else services who will use your data will struggle &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;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the json result given :&lt;/P&gt; 
&lt;PRE&gt;{
	"trucks": {
		"type": "VO",
		"model": "K 360 IB4X2NB",
		"caracteristiques": [
			{
				"carac1": "01483",
				"carac2": "ESSIEUX",
				"carac3": "BLISFER",
				"carac4": null
			},
			{
				"carac1": "01783",
				"carac2": "ODB",
				"carac3": "COMPTEUR KMH",
				"carac4": null
			},
			{
				"carac1": "01413",
				"carac2": "CHASSIS",
				"carac3": "FONTE",
				"carac4": null
			}
		]
	}
}&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 11:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/headers-in-twriteJSONField/m-p/2278421#M53904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-31T11:36:52Z</dc:date>
    </item>
  </channel>
</rss>

