title: How can I customize the serialization/deserialization of a complex type in ServiceStack.OrmLite
body: <p>I am using ServiceStack.OrmLite to persist data in a <code>SQLite</code> database, and quite happy with it so far.</p>
  
  <p>However, many of my objects have properties of a complex type which I don't want serialized using <code>JSV</code>. </p>
  
  <p>I need to be able to specify a custom serialization/deserialization that should be used to store the property in the database (as a string). In the <code>db4o</code> world this would be equivalent to using the translation feature provided by <code>IObjectConstructor</code>.</p>
  
  <p>A good example of complex types that cannot be serialized and deserialized properly are NodaTime types, even though they can be easily mapped to strings (I already have the serialization/deserialization functions which I used with <code>db4o</code>).</p>
  
  <p>What is the simplest way to achieve that? A wrapper would not be very convenient as I would have to write and maintain one for each type that contains a property of this complex type.</p>