[Solved] Iterating over JSON object
It seems that you need to get the object by the PageId. Here is a function function getPageById(pageId) { for (var pageObj in cookieValue) { if (pageObj.PageId === pageId) return pageObj; } } solved Iterating over JSON object