namespace Jwt { /// /// Specifies a contract for a JSON serializer implementation. /// public interface IJsonSerializer { /// /// Serializes an object to a JSON string. /// /// The value to serialize. /// A JSON string representing of the object. string Serialize(object value); /// /// Deserializes a JSON string to a typed object of type . /// /// The type of the object. /// A JSON string representing the object. /// A typed object of type . T Deserialize(string value); } }