Re: JSONValue variable throwing runtime exception.

2009-08-21 Thread Tarek
.json.org/ > > You need to call data.keySet() and iterate through the keys. > > On Aug 19, 1:25 pm, Tarek wrote: > > > Hi, > > > I'm trying to parse a JSON value returned by my PHP script. The > > returned JSON string is valid and the project compiles ju

JSONValue variable throwing runtime exception.

2009-08-19 Thread Tarek
Hi, I'm trying to parse a JSON value returned by my PHP script. The returned JSON string is valid and the project compiles just fine. The problem I'm running into is that JavaScript throws a "(TypeError): data.isArray() is null". JavaScript throws that same exception for isTYPE method except for