ServiceStack/ServiceStack.Text — pull request #205 by aaronlerch (2012-09-27 21:43:02+00:00)
Title: Add support for customizing the serialized type name

A customization point existed for finding a type based on a string name
(JsConfig.TypeFinder), however serializing a type name was hard-coded
using the Type.ToTypeString() extension method.

This commit keeps the default behavior, but adds the ability to provide
an overriding Func method that generates the string
representing the type. Json.NET exposes this behavior using the
SerializationBinder class in the BCL, however only in .NET 4 does that
class support two way binding. And on the plus side, a Func is cleaner
and easier to implement.