Jquery-validation asynchronous verification, how to pass json string

The

backend requires all data to be in json string format. It used to be formatted with JSON.stringify (),.
when using the jquery-validation plug-in, the data can only be formatted with function return and cannot be formatted with JSON.stringify (). So how do you pass the json string back?

  remote: {
                    url: "rest/user/checkphone",
                    type: "POST",
                    data: {
                        "phone": function () {
                            return $("-sharptxtLoginID").val();
                        }
                    },
                    dataType: "json",
                    async: false,
                    dataFilter: function (data) {
                        if (parseInt(data.userarea.result) == 0)
                            return true;
                        else
                            return false;
                    }
                }

ask for advice. Thank you


should also be available through JSON.stringify () you pay attention to your writing

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30c4d-2bd35.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30c4d-2bd35.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?