<?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 JSON Utility - Issue with converting json with empty arrays &amp; bug fix provided in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/JSON-Utility-Issue-with-converting-json-with-empty-arrays-bug/m-p/47074#M2903</link>
    <description>I've recently discovered that the version of JSON Utility object that comes with BP 5.0.12 (and version 4 as well) throws an exception when converting json containing an empty array.

The easy fix is to change line 120 in global code:

dt.Columns.Add(JSON.Array, first)

to:

If first isNot Nothing
	dt.Columns.Add(JSON.Array, first)
End If


Artur</description>
    <pubDate>Mon, 11 Jul 2016 15:45:00 GMT</pubDate>
    <dc:creator>artur_karwowski</dc:creator>
    <dc:date>2016-07-11T15:45:00Z</dc:date>
    <item>
      <title>JSON Utility - Issue with converting json with empty arrays &amp; bug fix provided</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-Utility-Issue-with-converting-json-with-empty-arrays-bug/m-p/47074#M2903</link>
      <description>I've recently discovered that the version of JSON Utility object that comes with BP 5.0.12 (and version 4 as well) throws an exception when converting json containing an empty array.

The easy fix is to change line 120 in global code:

dt.Columns.Add(JSON.Array, first)

to:

If first isNot Nothing
	dt.Columns.Add(JSON.Array, first)
End If


Artur</description>
      <pubDate>Mon, 11 Jul 2016 15:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-Utility-Issue-with-converting-json-with-empty-arrays-bug/m-p/47074#M2903</guid>
      <dc:creator>artur_karwowski</dc:creator>
      <dc:date>2016-07-11T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Replying to a (very) old…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-Utility-Issue-with-converting-json-with-empty-arrays-bug/m-p/47075#M2904</link>
      <description>Replying to&amp;nbsp;a (very) old thread here, but thank you for this. This fixed my issue with trying to convert JSON to a collection using the Utility - JSON object.</description>
      <pubDate>Wed, 02 May 2018 14:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-Utility-Issue-with-converting-json-with-empty-arrays-bug/m-p/47075#M2904</guid>
      <dc:creator>IanClowery</dc:creator>
      <dc:date>2018-05-02T14:52:00Z</dc:date>
    </item>
  </channel>
</rss>

