When adding ImageModel to a view that is displays using react. I get a self referecing loop error when —>payload: @Html.Json(Model).
I tried to config the HttpConfiguration config with this:
config.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;
but still doesn’t work.
Any suggestions?
Thanks in advance
Litium version: 7.2