jsonAsObject

inline fun <T : Any> Table.jsonAsObject(name: String): Column<T>

Creates a column, with the specified name, for storing JSON data.

This method is a shorthand for Table.json, using JsonUtils.toJson and JsonUtils.jsonAs for serialization and deserialization respectively.

Parameters

T

The type of object represented by the JSON string

name

Name of the column