Do you have any advice on how we can serialize DataSet,DataTable with System.Text.Json.JsonSerializer ?
Currently it throws this exceptio
Reference loop handling is not currently supported using System.Text.Json. Workarounds:
.Net Core 3.0 possible object cycle was detected which is not supported
https://www.thecodebuzz.com/jsonexception-possible-object-cycle-detected-object-depth/
You could add custom converters on the offending property to deal with an object referring to itself or just add a JsonIgnore attribute to the offending property.