Results 1 to 3 of 3
Sep 23, 2013, 08:01 #1
- Join Date
- Jun 2009
- 0 Post(s)
- 0 Thread(s)
checking whether an obj is an array......
I'm parsing a JSON (http://mayacove.com/dev/json/json_test.txt)
and I'm having a hard time determining whether an obj is an array or not...
found this jQuery method $.isArray(obj), but it's not working....
my example is here,
also tried this
but also didn't work...
I imagine this is something that has to be done quite commonly when parsing JSON..
what is best method for determining whether an object is an array, please...