title: What is the ServiceStack.Text-equivalent of Json.NET Converters, for example when applied to NodaTime types?
body: <p>How can I control the serialization/deserialization of custom types (such as <code>NodaTime.LocalDateTime</code>) with ServiceStack.Text?</p>
  
  <p>Json.NET provides <a href="http://james.newtonking.com/json/help/html/SerializingJSON.htm"><code>Converters</code></a>  for this, so that each time a class contains a custom type, the corresponding custom serializer/deserializer will be used. For example a property of type NodaTime.LocalDateTime can be converted to and from a string using custom methods. </p>
  
  <p>In db4o, <code>IObjectConstructor</code> would act as a similar translation layer to convert a type to another before it is persisted (LocalDateTime could be converted to DateTime).</p>