Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Serialization

Daniel Wertheim edited this page Nov 29, 2012 · 1 revision

The default JSON serializer being used is one of the most performant serializer within .Net, namely: ServiceStack.Text. Read more about a comparison here: http://daniel.wertheim.se/2011/02/07/json-net-vs-servicestack/ From v11.0.0 of SisoDb, the ServiceStack-serializer is included as source code in SisoDb.Serialization.

There are additional custom serialization packages as well. Both for latest release of ServiceStack.Text, but also for Newtonsoft's JSON.Net serializer:

Write one on your own

You can of course write one on your own. Just implement SisoDb.Serialization.ISisoSerializer and hook it in, either using:

db.Serializer = mySerializer or via the config-API db.Configure().UseSerializer(mySerializer)

Clone this wiki locally