Is there something like unserialize PHP functions in jQuery?
I have a variable serialized with PHP serialize(). I have to unserialize it with j Query/java script.
Is there something like unserialize PHP functions in jQuery?
I have a variable serialized with PHP serialize(). I have to unserialize it with j Query/java script.
http://php.net/manual/en/book.json.php
in PHP
json_encode(unserialize(SerializedVal));
in JavaScript:
JSON.parse(JsonString);