kflorence/jquery-deserialize

Request: refactor deserialize into reusable function so that it returns an object

Closed this issue · 2 comments

I have a use case where I need to be able to deserialize a string (produced from $(form.serialize)) without updating a form. This way I can post the data using an AJAX call (and the server will be able to do proper model binding).
It would be great if you could make "deserialize" work as a static method on jQuery.

@sfmskywalker perhaps you want something like jQuery.deparam?

Yes! That's exactly what I was looking for. Thanks!