<?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 Convert string to json and then iterate through the JSON in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-string-to-json-and-then-iterate-through-the-json/m-p/9009#M3718</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have pasted a sample JSON below which is in string format.&amp;nbsp; I need to do below two activities. Please suggest how to do it in Workato.&lt;/P&gt;&lt;P&gt;1. Convert the string to JSON object.&lt;/P&gt;&lt;P&gt;2. Iterate through the two "results" objects present inside the JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"count": 2,&lt;BR /&gt;"next": null,&lt;BR /&gt;"previous": null,&lt;BR /&gt;"results": [&lt;BR /&gt;{&lt;BR /&gt;"date_created": "2024-09-17T00:43:47.536708Z",&lt;BR /&gt;"user": "ld",&lt;BR /&gt;"object_repr": "SOX Test Access Level &amp;lt;fy24-sox-test-dl-sox-test-access-level&amp;gt;",&lt;BR /&gt;"parent_repr": "FY24 SOX Test &amp;lt;fy24-sox-test&amp;gt;",&lt;BR /&gt;"action": "UPDATED",&lt;BR /&gt;"comment": "",&lt;BR /&gt;"object_type": "Access Level",&lt;BR /&gt;"object_id": "270231",&lt;BR /&gt;"parent_type": "Access Container",&lt;BR /&gt;"parent_id": "312767",&lt;BR /&gt;"audit_fields": [&lt;BR /&gt;{&lt;BR /&gt;"action": "ADDED",&lt;BR /&gt;"field_name": "member_users",&lt;BR /&gt;"field_data": "osebastian",&lt;BR /&gt;"object_id": "24150",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"action": "ADDED",&lt;BR /&gt;"field_name": "member_users",&lt;BR /&gt;"field_data": "jguieb",&lt;BR /&gt;"object_id": "27870",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"action": "ADDED",&lt;BR /&gt;"field_name": "member_users",&lt;BR /&gt;"field_data": "gorino",&lt;BR /&gt;"object_id": "31933",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"date_created": "2024-07-12T00:42:47.986838Z",&lt;BR /&gt;"user": "ldeguzman",&lt;BR /&gt;"object_repr": "FY24 SOX Test &amp;lt;fy24-sox-test&amp;gt;",&lt;BR /&gt;"parent_repr": "",&lt;BR /&gt;"action": "UPDATED",&lt;BR /&gt;"comment": "",&lt;BR /&gt;"object_type": "Access Container",&lt;BR /&gt;"object_id": "312767",&lt;BR /&gt;"parent_type": null,&lt;BR /&gt;"parent_id": null,&lt;BR /&gt;"audit_fields": [&lt;BR /&gt;{&lt;BR /&gt;"action": "REMOVED",&lt;BR /&gt;"field_name": "delegates",&lt;BR /&gt;"field_data": "osebastian",&lt;BR /&gt;"object_id": "24150",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 11:31:11 GMT</pubDate>
    <dc:creator>kapil775</dc:creator>
    <dc:date>2025-02-28T11:31:11Z</dc:date>
    <item>
      <title>Convert string to json and then iterate through the JSON</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-string-to-json-and-then-iterate-through-the-json/m-p/9009#M3718</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have pasted a sample JSON below which is in string format.&amp;nbsp; I need to do below two activities. Please suggest how to do it in Workato.&lt;/P&gt;&lt;P&gt;1. Convert the string to JSON object.&lt;/P&gt;&lt;P&gt;2. Iterate through the two "results" objects present inside the JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"count": 2,&lt;BR /&gt;"next": null,&lt;BR /&gt;"previous": null,&lt;BR /&gt;"results": [&lt;BR /&gt;{&lt;BR /&gt;"date_created": "2024-09-17T00:43:47.536708Z",&lt;BR /&gt;"user": "ld",&lt;BR /&gt;"object_repr": "SOX Test Access Level &amp;lt;fy24-sox-test-dl-sox-test-access-level&amp;gt;",&lt;BR /&gt;"parent_repr": "FY24 SOX Test &amp;lt;fy24-sox-test&amp;gt;",&lt;BR /&gt;"action": "UPDATED",&lt;BR /&gt;"comment": "",&lt;BR /&gt;"object_type": "Access Level",&lt;BR /&gt;"object_id": "270231",&lt;BR /&gt;"parent_type": "Access Container",&lt;BR /&gt;"parent_id": "312767",&lt;BR /&gt;"audit_fields": [&lt;BR /&gt;{&lt;BR /&gt;"action": "ADDED",&lt;BR /&gt;"field_name": "member_users",&lt;BR /&gt;"field_data": "osebastian",&lt;BR /&gt;"object_id": "24150",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"action": "ADDED",&lt;BR /&gt;"field_name": "member_users",&lt;BR /&gt;"field_data": "jguieb",&lt;BR /&gt;"object_id": "27870",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"action": "ADDED",&lt;BR /&gt;"field_name": "member_users",&lt;BR /&gt;"field_data": "gorino",&lt;BR /&gt;"object_id": "31933",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"date_created": "2024-07-12T00:42:47.986838Z",&lt;BR /&gt;"user": "ldeguzman",&lt;BR /&gt;"object_repr": "FY24 SOX Test &amp;lt;fy24-sox-test&amp;gt;",&lt;BR /&gt;"parent_repr": "",&lt;BR /&gt;"action": "UPDATED",&lt;BR /&gt;"comment": "",&lt;BR /&gt;"object_type": "Access Container",&lt;BR /&gt;"object_id": "312767",&lt;BR /&gt;"parent_type": null,&lt;BR /&gt;"parent_id": null,&lt;BR /&gt;"audit_fields": [&lt;BR /&gt;{&lt;BR /&gt;"action": "REMOVED",&lt;BR /&gt;"field_name": "delegates",&lt;BR /&gt;"field_data": "osebastian",&lt;BR /&gt;"object_id": "24150",&lt;BR /&gt;"object_type": "user"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 11:31:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-string-to-json-and-then-iterate-through-the-json/m-p/9009#M3718</guid>
      <dc:creator>kapil775</dc:creator>
      <dc:date>2025-02-28T11:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to json and then iterate through the JSON</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-string-to-json-and-then-iterate-through-the-json/m-p/9029#M3719</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11561"&gt;@kapil775&lt;/a&gt;,&lt;BR /&gt;Did you try using Parse JSON document action.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:23:49 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/convert-string-to-json-and-then-iterate-through-the-json/m-p/9029#M3719</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-02-28T13:23:49Z</dc:date>
    </item>
  </channel>
</rss>

