<?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: Send Database Query Results to JSON tRestClient component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327415#M96797</link>
    <description>&lt;P&gt;Agreed, sorry I can't  be more help.  Here's a post that at least shows a configured WriteJSON component, maybe that'll set you on the right path.  &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.talend.com/s/question/0D53p00007vClu8CAC/headers-in-twritejsonfield" alt="https://community.talend.com/s/question/0D53p00007vClu8CAC/headers-in-twritejsonfield" target="_blank"&gt;headers in twriteJSONField (talend.com)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 18:59:01 GMT</pubDate>
    <dc:creator>aaronrums</dc:creator>
    <dc:date>2022-10-12T18:59:01Z</dc:date>
    <item>
      <title>Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327410#M96792</link>
      <description>&lt;P&gt;I have an integration that needs to perform the following workflow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Retrieve data from an MS SQL Server database, usually multiple rows of data&lt;/LI&gt;&lt;LI&gt;Convert that database data to JSON format and send to a POST tRestClient, preferably one row at a time&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting the data out of the database is no problem.  However, I am struggling with determining and configuring the components needed to format/build the JSON.  Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327410#M96792</guid>
      <dc:creator>CTabar1665588301</dc:creator>
      <dc:date>2024-11-15T22:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327411#M96793</link>
      <description>&lt;P&gt;If it's simple, you can use tFileOutputJSON.  This will easily generate an object for each record returned by your query.  You can click "generate an array json" to put all the objects in a big list.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your structures needs to be more complex than that, I'm not sure.  I have a similar requirement but with a more complex structure than just 1 level, and I've read that it might just be easier (for some) to write custom java code.  Unfortunately, I don't know java. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327411#M96793</guid>
      <dc:creator>aaronrums</dc:creator>
      <dc:date>2022-10-12T18:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327412#M96794</link>
      <description>&lt;P&gt;Is it possible to do this without generating a file every time?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327412#M96794</guid>
      <dc:creator>CTabar1665588301</dc:creator>
      <dc:date>2022-10-12T18:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327413#M96795</link>
      <description>&lt;P&gt;I would think it's possible using the tWriteJSON component, but I actually am learning what that one does right now myself.  It's not ideal, but you could always write the JSON to a file, read it and do the stuff you need, then delete it. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327413#M96795</guid>
      <dc:creator>aaronrums</dc:creator>
      <dc:date>2022-10-12T18:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327414#M96796</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to use the tWriteJSONField component and haven't really gotten anywhere.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to avoid having to write the file.  Seems like it shouldn't be necessary to write it to a file.  &lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327414#M96796</guid>
      <dc:creator>CTabar1665588301</dc:creator>
      <dc:date>2022-10-12T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327415#M96797</link>
      <description>&lt;P&gt;Agreed, sorry I can't  be more help.  Here's a post that at least shows a configured WriteJSON component, maybe that'll set you on the right path.  &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.talend.com/s/question/0D53p00007vClu8CAC/headers-in-twritejsonfield" alt="https://community.talend.com/s/question/0D53p00007vClu8CAC/headers-in-twritejsonfield" target="_blank"&gt;headers in twriteJSONField (talend.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327415#M96797</guid>
      <dc:creator>aaronrums</dc:creator>
      <dc:date>2022-10-12T18:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send Database Query Results to JSON tRestClient component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327416#M96798</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;TrestClient requires the body with document type, so you can use tXMLMap to build the document and it will be converted to Json format when it is passed to rest web service, or you can use tWriteJsonField+tRest components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 02:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-Database-Query-Results-to-JSON-tRestClient-component/m-p/2327416#M96798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T02:32:49Z</dc:date>
    </item>
  </channel>
</rss>

