mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-12 17:03:10 +00:00
2fb3442800
Initial support for System.Text.Json and some refactoring
16 lines
371 B
C#
16 lines
371 B
C#
namespace CryptoExchange.Net.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Serializer interface
|
|
/// </summary>
|
|
public interface IMessageSerializer
|
|
{
|
|
/// <summary>
|
|
/// Serialize an object to a string
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
/// <returns></returns>
|
|
string Serialize(object message);
|
|
}
|
|
}
|