Php.js has javascript implementations of unserialize and serialize:
http://phpjs.org/functions/unserialize/
http://phpjs.org/functions/serialize/
That said, it’s probably more efficient to convert to JSON on the server side. JSON.parse is going to be a lot faster than PHP.js’s unserialize.