rel8-internal
Safe HaskellNone
LanguageHaskell2010

Rel8.Internal.Type.JSONEncoded

Synopsis

Documentation

newtype JSONEncoded a Source #

A deriving-via helper type for column types that store a Haskell value using a JSON encoding described by aeson's ToJSON and FromJSON type classes.

Constructors

JSONEncoded 

Fields

Instances

Instances details
Eq a => Eq (JSONEncoded a) Source # 
Instance details

Defined in Rel8.Internal.Type.JSONEncoded

Ord a => Ord (JSONEncoded a) Source # 
Instance details

Defined in Rel8.Internal.Type.JSONEncoded

Show a => Show (JSONEncoded a) Source # 
Instance details

Defined in Rel8.Internal.Type.JSONEncoded

(FromJSON a, ToJSON a) => DBType (JSONEncoded a) Source # 
Instance details

Defined in Rel8.Internal.Type.JSONEncoded