#if !BESTHTTP_DISABLE_SOCKETIO using System.Collections.Generic; namespace BestHTTP.SocketIO.JsonEncoders { /// /// Interface to be able to write custom Json encoders/decoders. /// public interface IJsonEncoder { /// /// The Decode function must create a list of objects from the Json formatted string parameter. If the decoding fails, it should return null. /// List Decode(string json); /// /// The Encode function must create a json formatted string from the parameter. If the encoding fails, it should return null. /// string Encode(List obj); } } #endif