No description, website, or topics provided.
C# Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
dependencies
src/Nancy.Serialization.ServiceStack
.editorconfig
.gitignore
.gitmodules
Nancy.Serialization.ServiceStack.sln
NuGet.config
appveyor.yml
build.cake
build.ps1
build.sh
how_to_build.txt
license.txt
readme.md

readme.md

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

Usage

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.

Customization

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.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Contribution License Agreement

Contributing to Nancy requires you to sign a contribution license agreement (CLA) for anything other than a trivial change. By signing the contribution license agreement, the community is free to use your contribution to .NET Foundation projects.

.NET Foundation

This project is supported by the .NET Foundation.

Copyright

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

License

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