<?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: Expresion json in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Expresion-json-in-tmap/m-p/2328808#M98061</link>
    <description>&lt;P&gt;You are putting quotes around the wrong sections. For example, arrays ([...]) do not need quotes around them. I believe your code should look more like this....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"{\"EntityList\": [{\"EntityName\": \"lead\","+"\"Id\": \""+Var.var1+"\","+"\"Attributes\":[{\"Name\" : \"crmvi_opt\",\"Type\" : \"integer\",\"Value\" : \"0\"}]}]}"&lt;/PRE&gt;</description>
    <pubDate>Thu, 22 Mar 2018 22:14:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-22T22:14:15Z</dc:date>
    <item>
      <title>Expresion json in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Expresion-json-in-tmap/m-p/2328807#M98060</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I would like to send a json expression (in tMap) to a tRest for a PUT message but I have an error:&lt;/P&gt;
&lt;P&gt;My expression JSON:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;"{\"EntityList\": \"[\""&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P class="p1"&gt;"{\"EntityName\": \"lead\","&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"\"Id"&lt;SPAN class="s1"&gt;: \&lt;/SPAN&gt;""&lt;SPAN class="s1"&gt;+Var.var1+&lt;/SPAN&gt;"\","&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"\"Attributes\":\"[\""&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P class="p1"&gt;"{\"Name\" : \"crmvi_opt\","&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"\"Type\" : \"integer\","&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"\"Value\" : \"0\""&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"}""+"&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;\&lt;/SPAN&gt;"]\""&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"}""\"]\""&lt;SPAN class="s1"&gt;+&lt;/SPAN&gt;"}"&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 18:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Expresion-json-in-tmap/m-p/2328807#M98060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion json in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Expresion-json-in-tmap/m-p/2328808#M98061</link>
      <description>&lt;P&gt;You are putting quotes around the wrong sections. For example, arrays ([...]) do not need quotes around them. I believe your code should look more like this....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"{\"EntityList\": [{\"EntityName\": \"lead\","+"\"Id\": \""+Var.var1+"\","+"\"Attributes\":[{\"Name\" : \"crmvi_opt\",\"Type\" : \"integer\",\"Value\" : \"0\"}]}]}"&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Mar 2018 22:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Expresion-json-in-tmap/m-p/2328808#M98061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T22:14:15Z</dc:date>
    </item>
  </channel>
</rss>

