Skip to content

Commit

Permalink
Merge branch 'hotfix/enable-number-from-string-handling'
Browse files Browse the repository at this point in the history
  • Loading branch information
Antaris committed Dec 23, 2024
2 parents 700cdb8 + 25a11ca commit 06abc57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/TrybeSDK/JsonUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public static JsonSerializerOptions CreateDeserializerOptions()
JsonSerializerOptions options = new()
{
WriteIndented = false,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
NumberHandling = JsonNumberHandling.AllowReadingFromString
};

options.Converters.Add(new ObjectDictionaryJsonConverter());
Expand Down

0 comments on commit 06abc57

Please sign in to comment.