BaseRequestMarshaller GetStructureMarshaller()
{
switch (this.Configuration.ServiceModel.Type)
{
case ServiceType.Rest_Json:
case ServiceType.Json:
return new JsonRPCStructureMarshaller();
default:
throw new Exception("No structure marshaller for service type: " + this.Configuration.ServiceModel.Type);
}
}