json

inline fun <C : Any> BaseTable<*>.json(name: String, mapper: ObjectMapper = sharedObjectMapper): Column<C>(source)

Define a column typed of JsonSqlType.

Return

the registered column.

Parameters

name

the column's name.

mapper

the object mapper used to serialize column values to JSON strings and deserialize them.