. serialize () will display input controls that have the name attribute defined in the standard query string:
foo=bar&bar=foo&and=soon
Such a line is easily accessible in almost every backend programming language.
If you need to serialize object information, use JSON.
var obj = {
foo: 'bar',
more: 'etc
};
window.JSON.stringify(obj);. JSON, window.JSON.parse(str);, javascript.
.