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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user