cancel
Showing results for 
Search instead for 
Did you mean: 

JSON Utility - Issue with converting json with empty arrays & bug fix provided

artur_karwowski
Level 2
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
1 REPLY 1

IanClowery
Level 4
Replying to 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.