Skip to content

Commit ecf7797

Browse files
committed
Update MagicSerializationHelper.cs
1 parent 0ca86e9 commit ecf7797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Magic.IndexedDb/Helpers/MagicSerializationHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public static string SerializeObject<T>(T value, MagicJsonSerializationSettings?
7272
if (string.IsNullOrWhiteSpace(json))
7373
throw new ArgumentException("JSON cannot be null or empty.", nameof(json));
7474

75-
if (settings == null)
76-
settings = new MagicJsonSerializationSettings();
75+
// if (settings == null)
76+
// settings = new MagicJsonSerializationSettings();
7777

7878
var options = settings.GetOptionsWithResolver<T>(); // Ensure correct resolver for deserialization
7979

0 commit comments

Comments
 (0)