JsonBColumnType

constructor(serialize: (T) -> String, deserialize: (String) -> T)

Parameters

serialize

Function that encodes an object of type T to a JSON String

deserialize

Function that decodes a JSON String to an object of type T