mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 01:08:26 -04:00
18 lines
490 B
C#
18 lines
490 B
C#
namespace NadekoBot.Core.Common.Configs
|
|
{
|
|
/// <summary>
|
|
/// Base interface for available config serializers
|
|
/// </summary>
|
|
public interface IConfigSeria
|
|
{
|
|
/// <summary>
|
|
/// Serialize the object to string
|
|
/// </summary>
|
|
public string Serialize<T>(T obj);
|
|
|
|
/// <summary>
|
|
/// Deserialize string data into an object of the specified type
|
|
/// </summary>
|
|
public T Deserialize<T>(string data);
|
|
}
|
|
} |