I have a POCO with a property of type List.
public class X {
public IList<Y> Ys {get;set;}
}
The list is serialised in the db as Jsv by OrmLite.
When retrieving the type X using OrmLite, the below functions do not hook in to the deserialisation process:
JsConfig<Y>.OnDeserializingFn
JsConfig<Y>.OnDeserializedFn
How can I get access to the object deserialisation when OrmLite is in charge?
Note: I’ve implemented IStringSerializer for OrmLiteConfig.DialectProvider.StringSerializer, but I don’t like it because it requires extra internal SS implementation knowledge (I’m thinking of other developers that have to maintain this code) - there are two deserialisation methods, its a non obvious implementation (I can catch IList< Y> being deserialised but not Y)