Skip to content

Commit 06abc57

Browse files
committed
Merge branch 'hotfix/enable-number-from-string-handling'
2 parents 700cdb8 + 25a11ca commit 06abc57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/TrybeSDK/JsonUtility.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public static JsonSerializerOptions CreateDeserializerOptions()
2828
JsonSerializerOptions options = new()
2929
{
3030
WriteIndented = false,
31-
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
31+
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
32+
NumberHandling = JsonNumberHandling.AllowReadingFromString
3233
};
3334

3435
options.Converters.Add(new ObjectDictionaryJsonConverter());

0 commit comments

Comments
 (0)