How to iterate below serialized data using jQuery
a:2:{i:0;s:8:"member 1";i:1;s:8:"member 2";}
If you fetch serialized object using PHP, Why do you need php serialized object unserialize through jQuery only.
you can simply convert it into json serialize in PHP
ob_clean();
echo json_encode(unserialize($serialized_string));
die();
In jQuery you can use AJAX dataType when the response is not set as JSON
var obj= JSON.parse(response_from_server);
;). Assuming you have actual JSON data, then you can just useJSON.parseto turn it back in to an object