Json – Anonymous object not showing in IActionResult response
I have my class defined as: public class BusinessStatusHistory { [JsonProperty("statusDate")] public string StatusDate { get; set; } [JsonProperty("addInfo")] public object AddInfo { get; set; } } object AddInfo can be a string or an anonymous object. In my controller,…