This plugin tries to serialize your form into a JSON object.
Nota bene: this plugin is AMD ready, and its name is "jquery.serializeObject"
First, to make it works, the following files have to be included.
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fjquery.js"> </script> <script src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fjquery.serializeObject.js"> </script>
This is really simple, you can do the following stuff
var json = $("#myForm").serializeObject();
Or:
var json = $(":input").serializeObject();