IDataSerializer.cs 338 B

12345678910111213
  1. using System;
  2. using System.IO;
  3. namespace MediaBrowser.ApiInteraction
  4. {
  5. /// <summary>
  6. /// Since ServiceStack Json is not portable, we need to abstract required json functions into an interface
  7. /// </summary>
  8. public interface IDataSerializer
  9. {
  10. T DeserializeFromStream<T>(Stream stream);
  11. }
  12. }