1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-18 11:52:54 +00:00

Fixed System.Text.Json array converter deserialization when skipping indexes, added NumberStringConverter

This commit is contained in:
JKorf
2024-07-23 12:00:08 +02:00
parent 11c1ad871a
commit 81d856d78d
2 changed files with 34 additions and 0 deletions
@@ -96,7 +96,10 @@ namespace CryptoExchange.Net.Converters.SystemTextJson
var attribute = attributes.SingleOrDefault(a => a.ArrayProperty.Index == index);
if (attribute == null)
{
index++;
continue;
}
var targetType = attribute.TargetType;
object? value = null;