<?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 how to Parse json file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-Parse-json-file/m-p/2236073#M24913</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Any one can help me how to parse below json file in Talend? I have tried using textractjsonfile component but it is not giving me exact output because json file is different.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Input file&lt;/STRONG&gt;&lt;/U&gt;:&lt;/P&gt;
&lt;P&gt;"metadata": {&lt;BR /&gt;"project": {&lt;BR /&gt;"4": {&lt;BR /&gt;"label": "LYFT"&lt;BR /&gt;},&lt;BR /&gt;"3": {&lt;BR /&gt;"label": "Mediaplus"&lt;BR /&gt;},&lt;BR /&gt;"2": {&lt;BR /&gt;"label": "Glo"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"campaign": {&lt;BR /&gt;"11": {&lt;BR /&gt;"channel_id": "1",&lt;BR /&gt;"real_end_date": null,&lt;BR /&gt;"channel_label": "Display",&lt;BR /&gt;"real_start_date": "2019-11-09 21:40:48",&lt;BR /&gt;"label": "00034_Weborama"&lt;BR /&gt;},&lt;BR /&gt;"32": {&lt;BR /&gt;"channel_id": "1",&lt;BR /&gt;"real_end_date": null,&lt;BR /&gt;"channel_label": "Display",&lt;BR /&gt;"real_start_date": "2020-02-17 21:38:10",&lt;BR /&gt;"label": "10016"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;expected output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Project file output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;project|label&lt;BR /&gt;4|LYFT&lt;BR /&gt;3|Mediaplus&lt;BR /&gt;2|Glo&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;campaign file output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;campaign|channel_id|real_end_date|channel_label|real_start_date|label&lt;BR /&gt;11|1|null|Display|2019-11-09 21:40:48|00034_Weborama&lt;BR /&gt;32|1|null|Display|2020-02-17 21:38:10|10016&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Mar 2020 11:06:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-08T11:06:39Z</dc:date>
    <item>
      <title>how to Parse json file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-Parse-json-file/m-p/2236073#M24913</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Any one can help me how to parse below json file in Talend? I have tried using textractjsonfile component but it is not giving me exact output because json file is different.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Input file&lt;/STRONG&gt;&lt;/U&gt;:&lt;/P&gt;
&lt;P&gt;"metadata": {&lt;BR /&gt;"project": {&lt;BR /&gt;"4": {&lt;BR /&gt;"label": "LYFT"&lt;BR /&gt;},&lt;BR /&gt;"3": {&lt;BR /&gt;"label": "Mediaplus"&lt;BR /&gt;},&lt;BR /&gt;"2": {&lt;BR /&gt;"label": "Glo"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"campaign": {&lt;BR /&gt;"11": {&lt;BR /&gt;"channel_id": "1",&lt;BR /&gt;"real_end_date": null,&lt;BR /&gt;"channel_label": "Display",&lt;BR /&gt;"real_start_date": "2019-11-09 21:40:48",&lt;BR /&gt;"label": "00034_Weborama"&lt;BR /&gt;},&lt;BR /&gt;"32": {&lt;BR /&gt;"channel_id": "1",&lt;BR /&gt;"real_end_date": null,&lt;BR /&gt;"channel_label": "Display",&lt;BR /&gt;"real_start_date": "2020-02-17 21:38:10",&lt;BR /&gt;"label": "10016"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;expected output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Project file output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;project|label&lt;BR /&gt;4|LYFT&lt;BR /&gt;3|Mediaplus&lt;BR /&gt;2|Glo&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;campaign file output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;campaign|channel_id|real_end_date|channel_label|real_start_date|label&lt;BR /&gt;11|1|null|Display|2019-11-09 21:40:48|00034_Weborama&lt;BR /&gt;32|1|null|Display|2020-02-17 21:38:10|10016&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 11:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-Parse-json-file/m-p/2236073#M24913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-08T11:06:39Z</dc:date>
    </item>
  </channel>
</rss>

