<?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] How to convert JSON string with loop elements into another JSON format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295646#M68396</link>
    <description>Thanks, Lin.&lt;BR /&gt;This approach works for now.&amp;nbsp;&lt;BR /&gt;Because it relies on "Group by" feature on tWriteJSONField to output one single line, this approach only works for constant count.&amp;nbsp;&lt;BR /&gt;What to do if count has different value? E.g.&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"tags":&lt;BR /&gt;}&lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Jul 2016 03:34:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-13T03:34:21Z</dc:date>
    <item>
      <title>[resolved] How to convert JSON string with loop elements into another JSON format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295643#M68393</link>
      <description>Hi,
&lt;BR /&gt;I have one JSON string like below:
&lt;BR /&gt;
&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "taglist": ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "errcode": 0,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "errmsg": "ok"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;As you see, taglist is an array. I want to convert this JSON string into another format like:
&lt;BR /&gt;
&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"tags":&lt;BR /&gt;}&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;How to do it?</description>
      <pubDate>Sat, 16 Nov 2024 10:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295643#M68393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to convert JSON string with loop elements into another JSON format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295644#M68394</link>
      <description>&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153510iC5C7239AFF69F56D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtF.png" alt="0683p000009MAtF.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB0K.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150945i76F576A73128369F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB0K.png" alt="0683p000009MB0K.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB0Y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144709iCB046D0A70236678/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB0Y.png" alt="0683p000009MB0Y.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAmw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145773iDE4A1490ACB40921/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAmw.png" alt="0683p000009MAmw.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 12 Jul 2016 15:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295644#M68394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-12T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to convert JSON string with loop elements into another JSON format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295645#M68395</link>
      <description>I use these tools to validate and share json data Json Viewer&amp;nbsp;and&amp;nbsp;Json Formatter</description>
      <pubDate>Tue, 12 Jul 2016 20:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295645#M68395</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-07-12T20:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to convert JSON string with loop elements into another JSON format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295646#M68396</link>
      <description>Thanks, Lin.&lt;BR /&gt;This approach works for now.&amp;nbsp;&lt;BR /&gt;Because it relies on "Group by" feature on tWriteJSONField to output one single line, this approach only works for constant count.&amp;nbsp;&lt;BR /&gt;What to do if count has different value? E.g.&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"tags":&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2016 03:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295646#M68396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-13T03:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to convert JSON string with loop elements into another JSON format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295647#M68397</link>
      <description>Hello&amp;nbsp;seanzhang1212,&lt;BR /&gt;You can just create a field 'bidon'(french) and you don't use it at the end. I take the same exemple, if the field 'bidon' is 'count',&amp;nbsp;you delete just the link of the 'count' in the component tWriteJSONField. I hope that is&amp;nbsp;understandable for you.</description>
      <pubDate>Wed, 13 Jul 2016 09:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295647#M68397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-13T09:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to convert JSON string with loop elements into another JSON format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295648#M68398</link>
      <description>Thank you , Lin.&lt;BR /&gt;After tried with a few scenarios, I feel tWriteJSONField is not feasible enough to cater for complex JSON format. I have changed to use tJSONDoc* component which are available in Exchange.&amp;nbsp;</description>
      <pubDate>Wed, 20 Jul 2016 11:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-convert-JSON-string-with-loop-elements-into/m-p/2295648#M68398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T11:13:15Z</dc:date>
    </item>
  </channel>
</rss>

