<?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: Alternate or multiple Field name mapping in JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205356#M5850</link>
    <description>&lt;P&gt;Thanks Nikhil, I am referring to this (highlighted below), if we can use this by by means &amp;amp; mention field alternate field names&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jsonpath_alternatenames.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6gA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135291i8C25B7499EA88E87/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6gA.png" alt="0683p000009M6gA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;ref -&amp;nbsp;&lt;A href="http://umashanthan.blogspot.com/2015/11/json-path-expression-for.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://umashanthan.blogspot.com/2015/11/json-path-expression-for.html&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2019 14:56:30 GMT</pubDate>
    <dc:creator>nmodi</dc:creator>
    <dc:date>2019-08-21T14:56:30Z</dc:date>
    <item>
      <title>Alternate or multiple Field name mapping in JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205354#M5848</link>
      <description>&lt;P&gt;so I m trying to extract JSON data submitted via API calls &amp;amp; it is working fine,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;what I want to do it little bit more flexible &amp;amp; parse data even field names are little different to up-to certain extent,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Such as&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;'Name' fieldname - it should even accept &amp;amp; map field names such as &lt;STRONG&gt;name&lt;/STRONG&gt;, &lt;STRONG&gt;NAME&lt;/STRONG&gt; etc..to Name field data&lt;/LI&gt; 
 &lt;LI&gt;'Address' fieldname - it should even accept &amp;amp; map field names such as &lt;STRONG&gt;address&lt;/STRONG&gt;, &lt;STRONG&gt;ADDRESS&lt;/STRONG&gt;, &lt;STRONG&gt;address1&lt;/STRONG&gt;, &lt;STRONG&gt;Address1&lt;/STRONG&gt; etc..to Address field data&lt;/LI&gt; 
 &lt;LI&gt;'Zip' fieldname - it should even accept &amp;amp; map field names such as &lt;STRONG&gt;ZIP&lt;/STRONG&gt;, &lt;STRONG&gt;POSTALCODE&lt;/STRONG&gt;, &lt;STRONG&gt;zip&lt;/STRONG&gt;, &lt;STRONG&gt;postalcode&lt;/STRONG&gt; etc..to Zip field data&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and I know field names are case sensitive here that means even if client pass data as 'name' or 'NAME' instead of 'Name' field name, data doesn't get mapped.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Basically Is there a way to map multiple field names to one field or specify alternate field names in JSON mapping?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the current field mapping,&amp;nbsp;&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; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="tExtarctJSONFields.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6vF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158290iFA776F5B027DA328/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6vF.png" alt="0683p000009M6vF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 23:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205354#M5848</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2019-08-20T23:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate or multiple Field name mapping in JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205355#M5849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Since the component will work on schema based approach, you will not be able to chnage field names on the fly. At the same time, you can try to replace the matching values&amp;nbsp; for field names before sending the data for parsing.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; For this case, you will have to do a search and replace for the values using regular expressions (Hints:- refer java regular expressions in java forums) for the entire input JSON string.&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;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 04:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205355#M5849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-21T04:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate or multiple Field name mapping in JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205356#M5850</link>
      <description>&lt;P&gt;Thanks Nikhil, I am referring to this (highlighted below), if we can use this by by means &amp;amp; mention field alternate field names&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jsonpath_alternatenames.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6gA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135291i8C25B7499EA88E87/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6gA.png" alt="0683p000009M6gA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;ref -&amp;nbsp;&lt;A href="http://umashanthan.blogspot.com/2015/11/json-path-expression-for.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://umashanthan.blogspot.com/2015/11/json-path-expression-for.html&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 14:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Alternate-or-multiple-Field-name-mapping-in-JSON/m-p/2205356#M5850</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2019-08-21T14:56:30Z</dc:date>
    </item>
  </channel>
</rss>

