Sortable: Format of serialize result

Sortable: Format of serialize result


I can get the serialize method working no problem, I'm just curious on
the format of its output having never really worked with serialization
before.
I am wondering, what the purpose of the [] in the output is? These
make the output appear like an aray, although doing a typeof on the
output shows it is just a simple string. Are the square braces
expected by server-side code?
Also, what about deserialization? Is this best done on the server and
then passing the results back as a JSON object maybe?
Any info would be appreciatd