<?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 Creating array and objectis using tWriteJSONfile in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365969#M129516</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having trouble to creating the below structure using tWriteJSONField but can't seem to get the component working. Would anyone know how to structure this using the tWriteJSONField component?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the desired output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000IdXT1AAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141218iD9E14EBC5E857ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000IdXT1AAN.png" alt="0695b00000IdXT1AAN.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this is what I'm getting from the Talend output.&lt;/P&gt;&lt;P&gt;{"content":[{"type":"cms_image","body":{"altText":"Screenshot","title":"&lt;/P&gt;&lt;P&gt;Screenshot&lt;/P&gt;&lt;P&gt;","source":{"ref":"assets/uploaded-files/2021-08/&lt;/P&gt;&lt;P&gt;Screenshot&lt;/P&gt;&lt;P&gt;.jpg"}}}]}&lt;/P&gt;&lt;P&gt;{"content":[{"type":"cms_image","body":{"altText":"&lt;/P&gt;&lt;P&gt;Screenshot2&lt;/P&gt;&lt;P&gt;","title":"&lt;/P&gt;&lt;P&gt;Screenshot2&lt;/P&gt;&lt;P&gt;","source":{"ref":"assets/uploaded-files/2021-08/&lt;/P&gt;&lt;P&gt;Screenshot2&lt;/P&gt;&lt;P&gt;.jpg"}}}]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my XML tree structure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000IdXUOAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142993i6854A7A727311FEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000IdXUOAA3.png" alt="0695b00000IdXUOAA3.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone who has any ideas on how I might be able to fix this? Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:45:06 GMT</pubDate>
    <dc:creator>cara_ay</dc:creator>
    <dc:date>2024-11-15T23:45:06Z</dc:date>
    <item>
      <title>Creating array and objectis using tWriteJSONfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365969#M129516</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having trouble to creating the below structure using tWriteJSONField but can't seem to get the component working. Would anyone know how to structure this using the tWriteJSONField component?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the desired output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000IdXT1AAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141218iD9E14EBC5E857ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000IdXT1AAN.png" alt="0695b00000IdXT1AAN.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this is what I'm getting from the Talend output.&lt;/P&gt;&lt;P&gt;{"content":[{"type":"cms_image","body":{"altText":"Screenshot","title":"&lt;/P&gt;&lt;P&gt;Screenshot&lt;/P&gt;&lt;P&gt;","source":{"ref":"assets/uploaded-files/2021-08/&lt;/P&gt;&lt;P&gt;Screenshot&lt;/P&gt;&lt;P&gt;.jpg"}}}]}&lt;/P&gt;&lt;P&gt;{"content":[{"type":"cms_image","body":{"altText":"&lt;/P&gt;&lt;P&gt;Screenshot2&lt;/P&gt;&lt;P&gt;","title":"&lt;/P&gt;&lt;P&gt;Screenshot2&lt;/P&gt;&lt;P&gt;","source":{"ref":"assets/uploaded-files/2021-08/&lt;/P&gt;&lt;P&gt;Screenshot2&lt;/P&gt;&lt;P&gt;.jpg"}}}]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my XML tree structure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000IdXUOAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142993i6854A7A727311FEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000IdXUOAA3.png" alt="0695b00000IdXUOAA3.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone who has any ideas on how I might be able to fix this? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365969#M129516</guid>
      <dc:creator>cara_ay</dc:creator>
      <dc:date>2024-11-15T23:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating array and objectis using tWriteJSONfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365970#M129517</link>
      <description>&lt;P&gt;@Cara Au Yeung​&amp;nbsp;, add a group element to merge input rows to one output row.  see &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000IdlcvAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146788i53D66F82305258EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000IdlcvAAB.png" alt="0695b00000IdlcvAAB.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Idld0AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154834i2F43CA54CB7C94DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Idld0AAB.png" alt="0695b00000Idld0AAB.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000IdldPAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144403iDC1B8BE9E30068D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000IdldPAAR.png" alt="0695b00000IdldPAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;{"content":[{"type":"type1","body":{"alttext":"screesnot1","title":"title1","source":"ref1"}},{"type":"type2","body":{"alttext":"screesnot2","title":"title2","source":"ref2"}}]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 01:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365970#M129517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-11T01:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating array and objectis using tWriteJSONfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365971#M129518</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;, thank you so much - that worked perfectly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 10:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-array-and-objectis-using-tWriteJSONfile/m-p/2365971#M129518</guid>
      <dc:creator>cara_ay</dc:creator>
      <dc:date>2021-09-11T10:11:57Z</dc:date>
    </item>
  </channel>
</rss>

