check if node in JSON is empty
Hi!
I have a question about JSON in general, using jQuery with ajax.. What I try to do is to do is to display value based on URL from google api with geo codes.
The thing is that the result in JSON will not always have exactly the same number of nodes.. Let's say I want node number 3, it's fine as long as there exist such node and a vaule in the node.
I have tried with hasData or != but it seems that this is only for the values, but how can I check if there's 2 or more nodes in JSON?
Thanks!