A json object has a key lastLogin. Value of it is a string.
I am trying to print firstName John and Blake
$scope._users = [{
"User": {
"userid": "dummy",
"lastlogin": "{\"employees\":[{\"firstName\":\"John\"}, {\"firstName\":\"Blake\"}]}",
}
}];
Any help would be appreciated.
$scope._users[0]is an example of an object (not JSON object).$scope._users[0].User.lastloginis an example of a JSON string.