jQuery Serialize Object converts HTML form into JavaScript object.
Adds the method serializeObject
to jQuery, to perform complex form serialization into JavaScript objects.
Serialize an HTML Form to a JavaScript Object, supporting nested attributes and arrays. The serializeJSON
function does not return JSON, but an object instead.
serializeObject is a variant of existing $.serialize
method which, instead of encoding form elements to string, converts form elements to a valid JSON object.