<?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 JSON Attributes Insert Or Update in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323704#M93502</link>
    <description>&lt;P&gt;I am writing data from RDBMS to Target DB, there is a column in Target which holds JSON attributes/objects, for the first time i am able to insert the data in below format, but how can how can i perform delta processing. For example if i want to update the Value of CUSTOMER_NAME, how this can be achieved using Talend ? I know there are JSON components but using tExtractJSONField,  unable to extract this the correct data because of Name &amp;amp; Value. Is there any solution for this kind of delta processing ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;"attributeValue"&lt;/P&gt;&lt;P&gt;: [&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Name"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"CUSTOMER_ID"&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Value"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"12345"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Name"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"CUSTOMER_NAME"&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Value"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"JACK"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    }  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is greatly appreciated....&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 21:19:48 GMT</pubDate>
    <dc:creator>TJ1598223511</dc:creator>
    <dc:date>2022-09-21T21:19:48Z</dc:date>
    <item>
      <title>JSON Attributes Insert Or Update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323704#M93502</link>
      <description>&lt;P&gt;I am writing data from RDBMS to Target DB, there is a column in Target which holds JSON attributes/objects, for the first time i am able to insert the data in below format, but how can how can i perform delta processing. For example if i want to update the Value of CUSTOMER_NAME, how this can be achieved using Talend ? I know there are JSON components but using tExtractJSONField,  unable to extract this the correct data because of Name &amp;amp; Value. Is there any solution for this kind of delta processing ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;"attributeValue"&lt;/P&gt;&lt;P&gt;: [&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Name"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"CUSTOMER_ID"&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Value"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"12345"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Name"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"CUSTOMER_NAME"&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;"Value"&lt;/P&gt;&lt;P&gt;: &lt;/P&gt;&lt;P&gt;"JACK"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    }  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is greatly appreciated....&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 21:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323704#M93502</guid>
      <dc:creator>TJ1598223511</dc:creator>
      <dc:date>2022-09-21T21:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Attributes Insert Or Update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323705#M93503</link>
      <description>&lt;P&gt;Can someone from Talend Professionals provide some solutioning....&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 03:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323705#M93503</guid>
      <dc:creator>TJ1598223511</dc:creator>
      <dc:date>2022-09-22T03:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Attributes Insert Or Update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323706#M93504</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is a tWriteJSONField which can be used to generate an array format json output.&lt;/P&gt;&lt;P&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 08:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323706#M93504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-22T08:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Attributes Insert Or Update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323707#M93505</link>
      <description>&lt;P&gt;@Xiaodi Shi​, My question is i have the data in the above mentioned format in one of my Target fields, lets say my Target field is attribute_json which is holding the above mentioned JSON format. For this attribute_json field I have to perform UPDATE on existing json data, i cannot replace json data in attribute_json since this field is holding other teams data too, so only option i need to update the data. For suppose if i get an update on this JSON value alone &lt;B&gt;{"Name":"CUSTOMER_NAME", "Value":"JACK"}&lt;/B&gt; like i need to update from JACK to RACK in Target how can we achieve this through Talend. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First thing i am unable to read the Name and Value data using tExtractJSONField component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;For me i feel like Talend can only do insert or update on relational data fields but not on JSON data fields,  for json data I have I see only to use java code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thiru.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 15:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-Attributes-Insert-Or-Update/m-p/2323707#M93505</guid>
      <dc:creator>TJ1598223511</dc:creator>
      <dc:date>2022-09-22T15:20:54Z</dc:date>
    </item>
  </channel>
</rss>

