I am retrieving a list that contains Persons and would like to convert them to String, and also be able to count how many users are per list. The Person is retrieved as an Object. How can I solve this issue?
var oListItem = listItemEnumerator.get_current();
itemValue = oListItem.get_item('Title');
alert(itemValue); //prints correctly
peopleValue = oListItem.get_item('People').get_lookupId();
alert("My name is" + peopleValue); //prints [object, object]