<?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: Deserializing JSON object to collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Deserializing-JSON-object-to-collection/m-p/62395#M15514</link>
    <description>Hi Aashima,&lt;BR /&gt;&lt;BR /&gt;You can do a number of things depending on your desired output.&lt;BR /&gt;&lt;BR /&gt;If you want to call certain nested collections you can just the dot notation e.g. [results.id.iteminfo]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are able to pre-define all potential fields in these collection so that when populated they can be half filled decision stages that check whether a field is empty will help you in your process.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ronan Considine&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 24 Jul 2020 15:49:00 GMT</pubDate>
    <dc:creator>RonanConsidine</dc:creator>
    <dc:date>2020-07-24T15:49:00Z</dc:date>
    <item>
      <title>Deserializing JSON object to collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Deserializing-JSON-object-to-collection/m-p/62394#M15513</link>
      <description>Hi,

On hittingÂ&amp;nbsp; aÂ&amp;nbsp;web api service, a json response is being returned.Json response returned has collections within collections.

{"id": 123,"iteminfo":{inputs:[]},

{"id":456 ,"iteminfo:{"model":"xyz","Results":[]}},

{"id":789,"iteminfo:{"Type":1,"Results":[{"Files":[],"From":abc]}

as it can be seen iteminfo attributeÂ&amp;nbsp;has different values for all ids and can even have nested collectionsÂ&amp;nbsp; in it.How do i decide till what levelsÂ&amp;nbsp;do i need to loop in the main collection as properties of iteminfo are different for all ids.</description>
      <pubDate>Sat, 25 May 2019 20:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Deserializing-JSON-object-to-collection/m-p/62394#M15513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-25T20:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Deserializing JSON object to collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Deserializing-JSON-object-to-collection/m-p/62395#M15514</link>
      <description>Hi Aashima,&lt;BR /&gt;&lt;BR /&gt;You can do a number of things depending on your desired output.&lt;BR /&gt;&lt;BR /&gt;If you want to call certain nested collections you can just the dot notation e.g. [results.id.iteminfo]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are able to pre-define all potential fields in these collection so that when populated they can be half filled decision stages that check whether a field is empty will help you in your process.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ronan Considine&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jul 2020 15:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Deserializing-JSON-object-to-collection/m-p/62395#M15514</guid>
      <dc:creator>RonanConsidine</dc:creator>
      <dc:date>2020-07-24T15:49:00Z</dc:date>
    </item>
  </channel>
</rss>

