<?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>how to extract secondary json from the http response</title><link>https://community.appian.com/discussions/f/integrations/33986/how-to-extract-secondary-json-from-the-http-response</link><description>hi, 
 my json response is as follows : 
 Body={………… 
 message={role=user, function_call={name=fn_test ,arguments={ &amp;quot;annotations&amp;quot;: [ { &amp;quot;originalText&amp;quot;: “text1”, &amp;quot;annotation&amp;quot;: { &amp;quot;classification&amp;quot;: &amp;quot;Rule&amp;quot;, &amp;quot;rule&amp;quot;: true } }, 
 { &amp;quot;originalText&amp;quot;: “text2”, &amp;quot;annotation</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to extract secondary json from the http response</title><link>https://community.appian.com/thread/129147?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 17:51:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98e6c11e-48c7-45d3-9587-937b46f3f0cf</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  local!requestBody: a!fromJson(http!request.body),
  local!nextLevel: a!forEach(
    items: local!requestBody,
    expression: fv!item.message.name.arguments
  )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After converting JSON to Appian value using a!fromJson(), you can traverse by using dot notation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>