diff --git a/CryptoExchange.Net/Converters/SystemTextJson/IntBoolConverter.cs b/CryptoExchange.Net/Converters/SystemTextJson/IntBoolConverter.cs index 82f2b6f..b2a59f5 100644 --- a/CryptoExchange.Net/Converters/SystemTextJson/IntBoolConverter.cs +++ b/CryptoExchange.Net/Converters/SystemTextJson/IntBoolConverter.cs @@ -20,6 +20,7 @@ namespace CryptoExchange.Net.Converters.SystemTextJson _trueValue = trueValue; } + /// public override bool Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { if (reader.TokenType != JsonTokenType.Number) @@ -28,6 +29,7 @@ namespace CryptoExchange.Net.Converters.SystemTextJson return reader.GetDecimal() == _trueValue; } + /// public override void Write(Utf8JsonWriter writer, bool value, JsonSerializerOptions options) { writer.WriteNumberValue(_trueValue);