My ASP.NET script service needs to be accessed from JavaScript using JSONP due to cross-domain restrictions. When dealing with a complex input structure, I have to construct the client-side input structure myself. How does the matching between the client-side and server-side parameters occur?
To clarify the question:
If I have managed to create and pass the complex input to the Script Method, how is the validation of my input structure against the input parameter of the Script method carried out? What determines this matching process?