Just dipping my toes into the world of knockoutjs, I've got this viewmodel set up:
var Testing = function(){
this.Username = ko.observable("");
this.Password = ko.observable("");
this.email = ko.observable("");
}
I'm tasked with converting only specific data bind values (Username and Password) into JSON. Currently, all values are being converted when I use data = ko.toJSON(this);
Any ideas on how to filter certain data bind values and convert them into JSON?