Create an easier way to access items from the collection by its index on JSONArray objects.
Something on the lines of a get(byval index) method can do it, and setting this as the default property will allow to call it directly, simulating the default array behaviour:
dim firstElement, secondElement
firstElement = oJSONarr.get(0)
secondElement = oJSONarr(1) ' default property makes it more natural
Create an easier way to access items from the collection by its index on
JSONArray
objects.Something on the lines of a
get(byval index)
method can do it, and setting this as the default property will allow to call it directly, simulating the default array behaviour: