module Granite::Converters::Json(M, T)
Overview
Converts an Object
of type M
to/from a database column of type T
.
Valid types for T
include: String
, JSON::Any
, and Bytes
.
NOTE M
must implement #to_json
and .from_json
methods.
Converts an Object
of type M
to/from a database column of type T
.
Valid types for T
include: String
, JSON::Any
, and Bytes
.
NOTE M
must implement #to_json
and .from_json
methods.