Akavache
Akavache copied to clipboard
Self referencing loop detected for property
hi,
When I try to serialize my data I have the error: Self referencing loop detected for property x
To fix this issue I would olike to have access to the json formatter to set:
config.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize; config.Formatters.JsonFormatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects;
How can I set these options?
Thanks,
Did you ever solve this? I am having the same when using a Microsoft.Maui.Graphics.IImage object