jQuery deserialize form

Tomas picture Tomas · Aug 9, 2011 · Viewed 64.5k times · Source

I am using jQuery Serialize to serialize my form elements and would like to deserialize them back. Unfortunately can't find any working jQuery deserializer, any suggestions?

Answer

kflorence picture kflorence · Jan 19, 2012

I wrote a version of jQuery.deserialize that supports serialized data generated from the serialize, serializeArray and serializeObject functions. It also supports all form element types, including checkboxes and radio buttons.