<?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 Extract ColumnName and Value from JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-ColumnName-and-Value-from-JSON/m-p/2235928#M24815</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a requirement which I am not able to figure the solution for it myself.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt; :&amp;nbsp;There is a product table which has following columns&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3" color="#993300"&gt;&lt;STRONG&gt;Prod_ID&lt;/STRONG&gt; - contains product ID&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3" color="#993300"&gt;&lt;STRONG&gt;Prod_Name&lt;/STRONG&gt; - Contains product name &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3" color="#993300"&gt;&lt;STRONG&gt;Prod_config&lt;/STRONG&gt; -&amp;nbsp;Contains additional&amp;nbsp;information about the product&amp;nbsp;features&amp;nbsp;in JSON format (as a sting)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;Each product can have one or many &lt;SPAN&gt;features, the&amp;nbsp;information of which is present in Prod_Config in key:value pair in JSON&amp;nbsp;structure. I&amp;nbsp;want to&amp;nbsp;transform this JSON&amp;nbsp;text into table format&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;so&amp;nbsp;the the value of Prod_config&amp;nbsp;&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="image.png" style="width: 858px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0vC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152958iC59854FCB83EB2DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0vC.png" alt="0683p000009M0vC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;should be&amp;nbsp;transformed and put in separate&amp;nbsp;table like this&amp;nbsp;&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="image.png" style="width: 415px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11D.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128625iC50DC4FBD2A5C6FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11D.png" alt="0683p000009M11D.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I linked my database input to&amp;nbsp;tExtractJSONFields&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 357px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0XU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151894iACF6A8D8B7515C9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0XU.png" alt="0683p000009M0XU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;From here I can&amp;nbsp;manually configure individual&amp;nbsp;attributes and write appropriate JSON query to extract&amp;nbsp;information from them. But the problem is, the table data is from external source which I have no control on +&amp;nbsp;are you might have noticed in the example one product can have 1 attribute another can have 50 and another can have 100+.&amp;nbsp;I need a&amp;nbsp;dynamic&amp;nbsp;know all the attributes present and transform them into the require table format without manually configuring (something that I have no control of and can change very frequently). There can be new attributes added to products so I should not have to come back&amp;nbsp;and update my JOB each time that happens. Hope I&amp;nbsp;have explained my problem and restriction for solution.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Any help would be&amp;nbsp;highly appreciated. Thank You in Advance.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 11:11:30 GMT</pubDate>
    <dc:creator>Gourav_King_of_DataLand</dc:creator>
    <dc:date>2018-11-09T11:11:30Z</dc:date>
    <item>
      <title>Extract ColumnName and Value from JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-ColumnName-and-Value-from-JSON/m-p/2235928#M24815</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a requirement which I am not able to figure the solution for it myself.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt; :&amp;nbsp;There is a product table which has following columns&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3" color="#993300"&gt;&lt;STRONG&gt;Prod_ID&lt;/STRONG&gt; - contains product ID&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3" color="#993300"&gt;&lt;STRONG&gt;Prod_Name&lt;/STRONG&gt; - Contains product name &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3" color="#993300"&gt;&lt;STRONG&gt;Prod_config&lt;/STRONG&gt; -&amp;nbsp;Contains additional&amp;nbsp;information about the product&amp;nbsp;features&amp;nbsp;in JSON format (as a sting)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;Each product can have one or many &lt;SPAN&gt;features, the&amp;nbsp;information of which is present in Prod_Config in key:value pair in JSON&amp;nbsp;structure. I&amp;nbsp;want to&amp;nbsp;transform this JSON&amp;nbsp;text into table format&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;so&amp;nbsp;the the value of Prod_config&amp;nbsp;&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="image.png" style="width: 858px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0vC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152958iC59854FCB83EB2DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0vC.png" alt="0683p000009M0vC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;should be&amp;nbsp;transformed and put in separate&amp;nbsp;table like this&amp;nbsp;&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="image.png" style="width: 415px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11D.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128625iC50DC4FBD2A5C6FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11D.png" alt="0683p000009M11D.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I linked my database input to&amp;nbsp;tExtractJSONFields&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 357px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0XU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151894iACF6A8D8B7515C9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0XU.png" alt="0683p000009M0XU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;From here I can&amp;nbsp;manually configure individual&amp;nbsp;attributes and write appropriate JSON query to extract&amp;nbsp;information from them. But the problem is, the table data is from external source which I have no control on +&amp;nbsp;are you might have noticed in the example one product can have 1 attribute another can have 50 and another can have 100+.&amp;nbsp;I need a&amp;nbsp;dynamic&amp;nbsp;know all the attributes present and transform them into the require table format without manually configuring (something that I have no control of and can change very frequently). There can be new attributes added to products so I should not have to come back&amp;nbsp;and update my JOB each time that happens. Hope I&amp;nbsp;have explained my problem and restriction for solution.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Any help would be&amp;nbsp;highly appreciated. Thank You in Advance.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-ColumnName-and-Value-from-JSON/m-p/2235928#M24815</guid>
      <dc:creator>Gourav_King_of_DataLand</dc:creator>
      <dc:date>2018-11-09T11:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extract ColumnName and Value from JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-ColumnName-and-Value-from-JSON/m-p/2235929#M24816</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;as a variant - use search function &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kV1pCAE#M83544" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Unable-to-parse-JSON-quot-name-quot-using-tExtractJSON/m-p/134085#M83544&lt;/A&gt;&lt;BR /&gt;(it more than 1 of course)&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 13:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-ColumnName-and-Value-from-JSON/m-p/2235929#M24816</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-17T13:55:10Z</dc:date>
    </item>
  </channel>
</rss>

