[Solved] Iterating over JSON object
[ad_1] 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; } } [ad_2] solved Iterating over JSON object