using System; using System.Collections.Generic; using System.IO; namespace Umbraco.Core.Serialization { public abstract class AbstractSerializationService { /// /// A sequence of registered with this serialization service. /// public IEnumerable Formatters { get; set; } /// /// Finds an with a matching , and deserializes the to an object graph. /// /// /// /// /// public abstract object FromStream(Stream input, Type outputType, string intent = null); /// /// Finds an with a matching , and serializes the object graph to an . /// /// /// /// public abstract IStreamedResult ToStream(object input, string intent = null); } }