SerializeJSON
Type: jQuery Plugin
The serializeJSON plugin will serialize a form into a hash. There are other plugins out that that are very similar, but I had some specific needs to meet:
- Blank values to be returned as blank, not null or false.
- Ability to convert checkbox values to booleans.
- Run on any element type, not just forms.
- Allow a selector for acquiring a subset of inputs.
Due to the nature of what serializeJSON returns, is is not chainable.