2012-07-31 16:29:07 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.ApiInteraction
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Since ServiceStack Json is not portable, we need to abstract required json functions into an interface
|
|
|
|
|
/// </summary>
|
2012-08-22 13:05:25 +00:00
|
|
|
|
public interface IDataSerializer
|
2012-07-31 16:29:07 +00:00
|
|
|
|
{
|
|
|
|
|
T DeserializeFromStream<T>(Stream stream);
|
|
|
|
|
}
|
|
|
|
|
}
|