<?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: Formatting tRESTResponse as object instead of array in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197761#M1380</link>
    <description>OK, thanks for your feedback.&amp;nbsp;</description>
    <pubDate>Fri, 28 Oct 2016 02:13:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-28T02:13:39Z</dc:date>
    <item>
      <title>Formatting tRESTResponse as object instead of array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197758#M1377</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I'm fairly new to talend and I have what may be a bit of a newbie question... &amp;nbsp;I am trying to return a JSON object using a tRESTResponse component but i can't figure out how to get my response wrapped in curly brackets?? &amp;nbsp;It appears that the square brackets are being wrapped around the response in the tRESTResponse component so I can't just wrap the string in curly brackets... &amp;nbsp;&lt;BR /&gt;Job flow:&lt;BR /&gt;&amp;nbsp;tRESTRequest -&amp;gt; tJavaFlex -&amp;gt; tMap -&amp;gt; tRESTResponse&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;subJob&lt;BR /&gt;What I need:&lt;/P&gt;
&lt;PRE&gt;{"data": }&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;What I get:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;]&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197758#M1377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting tRESTResponse as object instead of array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197759#M1378</link>
      <description>Hello&amp;nbsp;
&lt;BR /&gt;I am not able to reproduce the problem on version 6.2.1. Which version of studio are you using? Can you upload a screenshot to show the settings of tMap?
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 24 Oct 2016 05:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197759#M1378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-24T05:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting tRESTResponse as object instead of array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197760#M1379</link>
      <description>Thanks for your response shong, i was able to work around this by just wrapping my output in the curly brackets and then referencing the return array position 0. &amp;nbsp;I don't believe this is an issue with talend, I was just curious if there was a config i was missing in the tRESTResponse...</description>
      <pubDate>Thu, 27 Oct 2016 18:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197760#M1379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting tRESTResponse as object instead of array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197761#M1380</link>
      <description>OK, thanks for your feedback.&amp;nbsp;</description>
      <pubDate>Fri, 28 Oct 2016 02:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formatting-tRESTResponse-as-object-instead-of-array/m-p/2197761#M1380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-28T02:13:39Z</dc:date>
    </item>
  </channel>
</rss>

