Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ic String toJson() { Gson gson = new GsonBuilder().setPrettyPrinting().create(); String json = gson.toJson(this); return json; } } $(function () { main = { // Start updates start: function(){ var user = {username: "test", password: "pass"}; var encoded = $.toJSON( user ); ajaxPost.ajaxRequest("TodoListing/rest/users", user, function(data) { alert("success with data " + […]
↧