Stored in a variable named "response", I have the JSON value below:
{"rsuccess":true,"errorMessage":" ","ec":null,"responseList":[{"id":2,"description":"user1"},{"id":1,"description”:"user2"}]}
var users=response.responseList;
var l = users.length;
However, this code results in an error.
[Error] TypeError: undefined is not an object (evaluating 'users.length')