<?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: Masking JSON data in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267048#M2230</link>
    <description>&lt;P&gt;Hi nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also need to update my table for the field ACCT_DET&amp;nbsp;which contains all the above said entities. So from the output of Tdatamask component how can i update my table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Lets say I have table called ABC in which ID is PK, and few other fields and &lt;SPAN&gt;ACCT_DET&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is one of the field in which it contains "sortcode","accountnumber","rollnumner","accountholder". So with Tdatamask Component I was able to mask these data, but how should I combine them and update my table based on ID ??&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Please let me know.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Venu&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 12:48:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-20T12:48:46Z</dc:date>
    <item>
      <title>Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267042#M2224</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table which contains JSON data for one column for which i need to anonymise. Tried using t Data mask component and read the data from table as a context variable and would like to mask that data. ( replace entire table with default data for that JSON column alone )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While doing that getting below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exception in component tDataMasking_1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.lang.NullPointerException&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how it can be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267042#M2224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267043#M2225</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please share the screen shot of the job and the problematic component for analysis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267043#M2225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T17:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267044#M2226</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried even using a tMap component by manually passing the json data and tried updating the table, but still getting error.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me know how we can handle json data using Talend. I mean by using which component we can anonymise JSON data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;sample data&lt;/STRONG&gt;:&lt;/P&gt; 
&lt;P&gt;[{&lt;BR /&gt;"accountNumber": numeric,&lt;BR /&gt;"sortCode": numeric,&lt;BR /&gt;"rollNumber": string,&lt;BR /&gt;"accountHolder": string&lt;BR /&gt;}]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Venu&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 16:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267044#M2226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-19T16:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267045#M2227</link>
      <description>&lt;P&gt;Hi Venu,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I am assuming that your sample data is as below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[{
"accountNumber": 12345678,
"sortCode": 234567,
"rollNumber": "abc",
"accountHolder": "Nikhil"
}]&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can read them with tfileinputJSON as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="job flow and configuration" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1ev.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135467i1C150CD85AC6CAB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1ev.png" alt="0683p000009M1ev.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;job flow and configuration&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="schema" style="width: 534px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1px.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149198i78FA5D9DB1B874B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1px.png" alt="0683p000009M1px.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;schema&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="tlogrow output" style="width: 537px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1SG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155686i25802C271C2F17E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1SG.png" alt="0683p000009M1SG.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tlogrow output&lt;/SPAN&gt;&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;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 09:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267045#M2227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T09:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267046#M2228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you want to add data masking, select the corresponding function as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 780px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1qQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141174i3C0B463478BE9E15/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1qQ.png" alt="0683p000009M1qQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1qV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157687i051FE536F6DFE131/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1qV.png" alt="0683p000009M1qV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 671px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1lq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150125i9059BD00086FFB00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1lq.png" alt="0683p000009M1lq.png" /&gt;&lt;/span&gt;&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;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 09:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267046#M2228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T09:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267047#M2229</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the solution provided, however I am trying to extract the data from table using TOracleDBinput but when I am trying to connect these 2 components ( tdbinput and tfileinputjson) its not allowing to me to connect these components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know why this is happening. I have other fields as well in the table which i need to mask along with account details, in that case I need to extract the data from table using tdbinput.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how can I approach to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 11:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267047#M2229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267048#M2230</link>
      <description>&lt;P&gt;Hi nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also need to update my table for the field ACCT_DET&amp;nbsp;which contains all the above said entities. So from the output of Tdatamask component how can i update my table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Lets say I have table called ABC in which ID is PK, and few other fields and &lt;SPAN&gt;ACCT_DET&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is one of the field in which it contains "sortcode","accountnumber","rollnumner","accountholder". So with Tdatamask Component I was able to mask these data, but how should I combine them and update my table based on ID ??&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Please let me know.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Venu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 12:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267048#M2230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T12:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267049#M2231</link>
      <description>&lt;P&gt;Hi Venu,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you are using a tOracleInput, then you will have to add a tExtractJSONFields component to parse the inbound JSON column and to get the output data. The methodology to parse the fields inside the tExtractJSONFields remain same as my above example. For transferring the other components from tOracleInput, you will have to send them as a pass through field (without mapping to any inbound JSON field).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 17:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267049#M2231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T17:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267050#M2232</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Coming to your last query about recreating a JSON field with masked values, you can use tWriteJSONfield component in Talend. This component will help to convert the inbound fields to be converted to a JSON field You can plug this field after tDataMask component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;There are examples about how to do it in help.talend.com for each of these components. I would suggest you to practice those examples first before attempting to your real world scenario. If you get stuck even after performing all those steps, please feel free to come back with job screenshots, component screen shots, sample data and expected data etc. so that our Talend community members can look into it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Since it is a different topic, I would suggest to mark the current topic as closed since we have provided the solution to your initial query and open a new post. In this way, the topic will remain focused on a single query and other community members will not get confused by the length of the post.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Last but not least, please don't forget to give kudos &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; It will hardly take one second for you but it is a way of appreciating Talend members for volunteering their time for your query in between their busy schedule.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 17:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267050#M2232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T17:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Masking JSON data</title>
      <link>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267051#M2233</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP5iAAG"&gt;@uganesh&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please mark the topic as resolved as I have already answered your queries?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 04:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Masking-JSON-data/m-p/2267051#M2233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-24T04:37:34Z</dc:date>
    </item>
  </channel>
</rss>

