<?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 Make sure you have the… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Json-deserialize/m-p/49399#M4812</link>
    <description>Make sure you have the latest version of the JSON object - the one distributed with your version of Blue Prism.&amp;nbsp; I have heard of a similar issue and the client had upgraded Blue Prism but were still using the older JSON object.&amp;nbsp; &amp;nbsp;Also, make sure you have installed the correct newtonsoft dll for your version of Blue Prism (v6 uses the latest .NET)</description>
    <pubDate>Wed, 21 Mar 2018 20:42:00 GMT</pubDate>
    <dc:creator>Denis__Dennehy</dc:creator>
    <dc:date>2018-03-21T20:42:00Z</dc:date>
    <item>
      <title>Json deserialize</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Json-deserialize/m-p/49398#M4811</link>
      <description>Hi,&amp;nbsp;

I am trying to consume a REST web service using provided VBOs. When a get the token from the web service, the result json have to be deserialized and converted to DataTable. I can't do it using Utility Json VBO, because it does not find some objects like JavaScriptArray or JavaScriptObject, so i am trying to write my own code.

The json is like:

{
"access_token":"token",
"token_type":"type",
"expires_in":111111,
"userName":"the username",
".issued":"a date",
".expires":"a date"
}

Using JsonConverter.Deserialize(json, Datatable) fails with error: "unexpected json token when reading datatable. expected startarray got startobject ...".

&amp;nbsp;

Any idea to solve it?

&amp;nbsp;

Regards.</description>
      <pubDate>Mon, 05 Mar 2018 20:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Json-deserialize/m-p/49398#M4811</guid>
      <dc:creator>Juan_LuisTrelle</dc:creator>
      <dc:date>2018-03-05T20:38:00Z</dc:date>
    </item>
    <item>
      <title>Make sure you have the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Json-deserialize/m-p/49399#M4812</link>
      <description>Make sure you have the latest version of the JSON object - the one distributed with your version of Blue Prism.&amp;nbsp; I have heard of a similar issue and the client had upgraded Blue Prism but were still using the older JSON object.&amp;nbsp; &amp;nbsp;Also, make sure you have installed the correct newtonsoft dll for your version of Blue Prism (v6 uses the latest .NET)</description>
      <pubDate>Wed, 21 Mar 2018 20:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Json-deserialize/m-p/49399#M4812</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2018-03-21T20:42:00Z</dc:date>
    </item>
  </channel>
</rss>

