For custom serialization logic, a "serialize" event is dispatched on every Node which event listeners can override the default behavior on by setting the event.detail.serialize property to a String or ...
As seen on StackOverflow: Convert forms to JSON LIKE A BOSS. Adds the method serializeObject to jQuery, to perform complex form serialization into JavaScript objects. The current implementation relies ...