I have following method in wcf webenabled service
Public Person AddPerson(Person p);
As of now in traditional asp.net application i am using scriptmanager and it allows me to created javascript object like following to pass it in ajax call
var person = Person();
person.name = "mamu";
phonenumber = 911;
ajaxService.AddPerson(person, callback(),null, null);
Now i want to try same thing in asp.net mvc using jquery. But var person = Person(); can't be used any more as there is no script manager. scriptmanager has been taking care or conversion stuff so far but looks like jquery doesn't do it or at least not same way.
How can i build this Person object on client-side javascript to use this jquery .ajax call?