namespace NCC.JsonSerialization { /// /// Json 序列化提供器 /// public interface IJsonSerializerProvider { /// /// 序列化对象 /// /// /// /// string Serialize(object value, object jsonSerializerOptions = default); /// /// 反序列化字符串 /// /// /// /// /// T Deserialize(string json, object jsonSerializerOptions = default); /// /// 返回读取全局配置的 JSON 选项 /// /// object GetSerializerOptions(); } }