Create a JsonObject from a Collection in Jqerry
forEach(SPlistItem Item in litsItemCollection){ var resourceInfoJson = {}; var UserAllccationarry=[]; resourceInfoJson["Employee"] = Item.ResName; resourceInfoJson["ID"] = Item.lstItemID; UserAllccationarry.push(resourceInfoJson); }