1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-15 02:13:01 +00:00

Removed Newtonsoft.Json dependency

This commit is contained in:
Jkorf
2025-03-05 14:40:33 +01:00
parent 0d4ab96e19
commit e138d7d263
28 changed files with 178 additions and 2050 deletions
@@ -1,32 +1,31 @@
using CryptoExchange.Net.Objects;
using CryptoExchange.Net.Objects.Sockets;
using CryptoExchange.Net.Sockets;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text.Json.Serialization;
namespace CryptoExchange.Net.UnitTests.TestImplementations.Sockets
{
internal class SubResponse
{
[JsonProperty("action")]
[JsonPropertyName("action")]
public string Action { get; set; } = null!;
[JsonProperty("channel")]
[JsonPropertyName("channel")]
public string Channel { get; set; } = null!;
[JsonProperty("status")]
[JsonPropertyName("status")]
public string Status { get; set; } = null!;
}
internal class UnsubResponse
{
[JsonProperty("action")]
[JsonPropertyName("action")]
public string Action { get; set; } = null!;
[JsonProperty("status")]
[JsonPropertyName("status")]
public string Status { get; set; } = null!;
}