No description or website provided.
C# Ruby PowerShell Shell

Implementations of the ISerialization and IBodyDeserializer interfaces, based on ServiceStack.Text, for Nancy


Start of by installing the Nancy.Serialization.ServiceStack nuget

When Nancy detects that the ServiceStackJsonSerializer and ServiceStackBodyDeserializer types are available in the AppDomain, of your application, it will assume you want to use them, rather than the default ones.


If you want to customize the behavior of ServiceStack.Text, you use the normal JsConfig that is provided by the serializer.

For instance, if you wanted to emit camel-cased names in your json, you would set the following property

JsConfig.EmitCamelCaseNames = true;

Consult the ServiceStack.Text documentation, for information on the configurations you are able to perform.


Copyright © 2010 Andreas Håkansson, Steven Robbins and contributors


Nancy.Serialization.ServiceStack is licensed under MIT. Refer to license.txt for more information.