json
Creates a column, with the specified name, for storing JSON data.
Note: This column stores JSON either in non-binary text format or, if the vendor only supports 1 format, the default JSON type format. If JSON must be stored in binary format, and the vendor supports this, please use jsonb()
instead.
Parameters
Name of the column
Function that encodes an object of type T to a JSON String
Function that decodes a JSON string to an object of type T
Creates a column, with the specified name, for storing JSON data.
Note: This column stores JSON either in non-binary text format or, if the vendor only supports 1 format, the default JSON type format. If JSON must be stored in binary format, and the vendor supports this, please use jsonb()
instead.
Parameters
Name of the column
Configured instance of the Json
class