<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Json Response with function toJson()</title><link>https://community.appian.com/discussions/f/general/19553/json-response-with-function-tojson</link><description>Hi All, 
 Is there any way to get the json output in the following format with independent Query entity data results. 
 Here is the use case: 
 we have an application as parent object and Invoices are the child objects to that parent object. 
 while providing</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Json Response with function toJson()</title><link>https://community.appian.com/thread/76437?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 21:11:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1017921-f20e-48c6-8a4e-7038db29523d</guid><dc:creator>ramp</dc:creator><description>&lt;p&gt;Thanks Mike for the prompt response. Invoices objects are related to Application object. so Expected response should be like Application object contains the Invoice objects as well. how to achieve this with two independent query entity rule responses&amp;nbsp;like one is Application response and another is Invoice Response.&lt;/p&gt;
&lt;p&gt;Please advise us to achieve the same as Json.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Response with function toJson()</title><link>https://community.appian.com/thread/76436?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 21:02:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b115163-0dc8-4cc3-bc08-417d724c6983</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="3358" url="~/discussions/f/general/19553/json-response-with-function-tojson"]Invoice objects should be inside the application object [/quote]
&lt;p&gt;What makes you say this?&amp;nbsp; This is not how your initial data is structured, so I&amp;#39;m not clear why you&amp;#39;d expect it to be that way in the output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>