<?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 problem with json structre mongodb in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/problem-with-json-structre-mongodb/m-p/2249645#M34119</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello Community&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I have a json file which contains a lot of nested objects and arrays i want to import it and do a transformation on the id field which is a primary key and then i want to store this file on mongodb.&lt;BR /&gt;I tried with this job&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9ie.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150681iF6F0F56D0B20DDC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9ie.png" alt="0683p000009M9ie.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;but the problem is that the document stored on mongodb has lost its structure the content of the&amp;nbsp;nested arrays has become a string .&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;You will find attached the two json&amp;nbsp;files input.json and output.json to more understand the problem.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;can you help me solve this problem even with another job that you propose ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thank you all.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:59:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T02:59:07Z</dc:date>
    <item>
      <title>problem with json structre mongodb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problem-with-json-structre-mongodb/m-p/2249645#M34119</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Community&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I have a json file which contains a lot of nested objects and arrays i want to import it and do a transformation on the id field which is a primary key and then i want to store this file on mongodb.&lt;BR /&gt;I tried with this job&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9ie.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150681iF6F0F56D0B20DDC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9ie.png" alt="0683p000009M9ie.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;but the problem is that the document stored on mongodb has lost its structure the content of the&amp;nbsp;nested arrays has become a string .&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;You will find attached the two json&amp;nbsp;files input.json and output.json to more understand the problem.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;can you help me solve this problem even with another job that you propose ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thank you all.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problem-with-json-structre-mongodb/m-p/2249645#M34119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:59:07Z</dc:date>
    </item>
  </channel>
</rss>

