Json Serialize Object

beantownace

Active member
Joined
Feb 15, 2019
Messages
26
Programming Experience
5-10
Hello all,

Is there a way to serialize this list to the ICollection<IDictionary<string, object>> in Newtonsoftjson without having the inbuild controller serializer handling it?


Code:
public ActionResult<ICollection<IDictionary<string, object>>> GetCustomerData()
        {
            return _service.GetCustomerData().ToList();
        }
 
See:
 
Back
Top Bottom