using System.IO; namespace MediaBrowser.ApiInteraction { /// /// Since ServiceStack Json is not portable, we need to abstract required json functions into an interface /// public interface IDataSerializer { T DeserializeJsonFromStream(Stream stream); T DeserializeJsvFromStream(Stream stream); T DeserializeProtobufFromStream(Stream stream); bool CanDeserializeJsv { get; } bool CanDeserializeProtobuf { get; } } }