occurs when JSON string contains an empty array e.g. "attendees":[]
solution is to change the following line in the Function parseArray()
parseArray = resultArr
to
If arrayItemCount = 0 Then
parseArray = "null"<br/>
Else
parseArray = resultArr<br/>
End If