I have a Web API controller and from there I\'m returning an object as JSON from an action.
I\'m doing that like this:
public ActionResult GetAllNotifica
return JsonConvert.SerializeObject(images.ToList(), Formatting.None, new JsonSerializerSettings { PreserveReferencesHandling = PreserveReferencesHandling.None, ReferenceLoopHandling = ReferenceLoopHandling.Ignore }); using Newtonsoft.Json;