Description: Like PHP Serialize and Unserialize Functions.
Sample:
var Test = Array()
Test[-8.52] = fff
Test[ tt ] = Array()
Test[ tt ][ sss ] = 123
Test[ ss ] = def
Test[ tt ][10] = abc
ser = $.phpSerialize(Test)
alert(ser)
$.phpUnserialize(ser)
Result:
a:3:{i:-8 s:3:"fff" s:2:"tt" a:2:{s:3:"sss" i:123 i:10 s:3:"abc" }s:2:"ss" s:3:"def" }
To Search:
File list (Check if you may need any files):
jquery.php_serial-0.2\jquery-1.2.6.min.js
.....................\jquery.php_serial-0.2.js
.....................\sample.html
jquery.php_serial-0.2