I am getting output via method as System.Web.Http.Results.JsonResult'1[CustomType]..How to convert this into a readable string? When I deserialize into a JSON object it's throwing me an error?
Is this a JSON object?
--Adding code
I am UnitTesting a method and that returns System.Web.Http.Results.JsonResult'1[CustomType]
Here the FakeDetails method is called within GetFakeDetails
A.CallTo(() => FakeTestInterface.FakeDetails(A<string>.Ignored)).Returns((CustomTypeData));
var a = await Test.GetFakeDetails(InputData);
The value of a is System.Web.Http.Results.JsonResult'1[CustomType]