mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-07-08 15:16:15 +00:00
Compare commits
2 Commits
c10671768d
...
997e71f3b7
Author | SHA1 | Date | |
---|---|---|---|
|
997e71f3b7 | ||
|
b0fca4587d |
@ -28,6 +28,9 @@ namespace CryptoExchange.Net.Converters
|
||||
/// <inheritdoc />
|
||||
public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, JsonSerializer serializer)
|
||||
{
|
||||
if (reader.TokenType == JsonToken.Null)
|
||||
return null;
|
||||
|
||||
if (objectType == typeof(JToken))
|
||||
return JToken.Load(reader);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user