It is difficult to give examples with out snippets of your classes and what you are trying to achieve.
However take a look at this function you could have in your webservice
using Newsoft.Json;
public JsonResult FunctionName(string JsonString)
{
if (JsonString!= null)
{
YourObject YourObjectInstance = new YourObject ();
try
{
YourObjectInstance = JsonConvert.DeserializeObject<YourObject >(JsonString);
//do something with the data
// return a Json response of either your object or another object type
return Json(YourObjectInstance, JsonRequestBehavior.AllowGet);
}
catch
{
return new JsonResult(); //return empty JsonResult
}
}
else
{
return new JsonResult(); //return empty JsonResult
}
}
}