Skip to content

Commit

Permalink
Reference loop handling
Browse files Browse the repository at this point in the history
  • Loading branch information
OndrejNepozitek committed Dec 13, 2023
1 parent a692105 commit a3d2414
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Edgar/Utils/JsonUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static void SaveToFile<T>(T value, string filename, bool preserveReferenc
var settings = new JsonSerializerSettings()
{
TypeNameHandling = TypeNameHandling.Auto,
ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
};

if (preserveReferences)
Expand Down

0 comments on commit a3d2414

Please sign in to comment.