mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-08 00:16:27 +00:00
13 lines
347 B
C#
13 lines
347 B
C#
using CryptoExchange.Net.Interfaces;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace CryptoExchange.Net.Converters.JsonNet
|
|
{
|
|
/// <inheritdoc />
|
|
public class JsonNetMessageSerializer : IMessageSerializer
|
|
{
|
|
/// <inheritdoc />
|
|
public string Serialize(object message) => JsonConvert.SerializeObject(message, Formatting.None);
|
|
}
|
|
}
|