Discussions
How to DeserializeObject IQA
over 6 years ago by Ian Wann
How in c# would you DeserializeObject IQA such as below?
var result = await client.GetStringAsync("/asi.scheduler_PROD/api/iqa?queryname=$/GetEstablishmentTypes");
var tempresult = JsonConvert.DeserializeObject<Asi.Soa.Core.DataContracts.PagedResult<Asi.Soa.Core.DataContracts.GenericEntityData>>(result, new JsonSerializerSettings
{
TypeNameHandling = TypeNameHandling.Objects,
TypeNameAssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Full
});