api-docs / org.ktorm.jackson / json
json
inline fun <reified C : Any> BaseTable<*>.json(
name: String,
mapper: ObjectMapper = sharedObjectMapper
): Column<C>
(source code)Define a column typed of JsonSqlType.
Parameters
mapper
- the object mapper used to serialize column values to JSON strings and deserialize them.
Return
the registered column.