From a3d24141e6219f8c10340ef30546a7231fb2fb6c Mon Sep 17 00:00:00 2001 From: OndrejNepozitek Date: Wed, 13 Dec 2023 14:43:26 +0100 Subject: [PATCH] Reference loop handling --- src/Edgar/Utils/JsonUtils.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Edgar/Utils/JsonUtils.cs b/src/Edgar/Utils/JsonUtils.cs index d4064340..e88f71f4 100644 --- a/src/Edgar/Utils/JsonUtils.cs +++ b/src/Edgar/Utils/JsonUtils.cs @@ -19,6 +19,7 @@ public static void SaveToFile(T value, string filename, bool preserveReferenc var settings = new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.Auto, + ReferenceLoopHandling = ReferenceLoopHandling.Ignore, }; if (preserveReferences)