Is there any better solution to convert a form data that is already serialized by jQuery function serialize(), when the form contains multiple input Array fields. I want to
Using the power of reducing function!
$(form).serializeArray().reduce(function (output, value) { output[value.name] = value.value return output }, {})