Skip to main content

XmlSerializerFormat

Use .NET XmlSerializer instead of .NET XML DataContract Serializer

Assembly: ServiceStack.dll
View Source
Declaration
public class XmlSerializerFormat : IPlugin

Methods

Serialize(IRequest, Object, Stream)

View Source
Declaration
public static void Serialize(IRequest req, object response, Stream stream)
Parameters
TypeName
ServiceStack.Web.IRequestreq
System.Objectresponse
System.IO.Streamstream

Deserialize(Type, Stream)

View Source
Declaration
public static object Deserialize(Type type, Stream stream)
Returns

System.Object

Parameters
TypeName
System.Typetype
System.IO.Streamstream

Register(IAppHost)

View Source
Declaration
public void Register(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

Implements