| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasql.Interpolate.Internal.Json
Documentation
Newtype for DecodeValue /
EncodeValue instances that converts
between a postgres json type and an Aeson Value
Instances
| DecodeValue Json Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json Methods decodeValue :: Value Json Source # | |
| EncodeValue Json Source # | |
Defined in Hasql.Interpolate.Internal.Json Methods encodeValue :: Value Json Source # | |
Newtype for DecodeValue /
EncodeValue instances that converts
between a postgres json type and an Aeson Value
Instances
| DecodeValue Jsonb Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json Methods decodeValue :: Value Jsonb Source # | |
| EncodeValue Jsonb Source # | Encode an Aeson |
Defined in Hasql.Interpolate.Internal.Json Methods encodeValue :: Value Jsonb Source # | |
Newtype for DecodeValue /
EncodeValue instances that converts
between a postgres json type and anything that is an instance of
FromJSON / ToJSON
Constructors
| AsJson a |
Instances
| FromJSON a => DecodeValue (AsJson a) Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json Methods decodeValue :: Value (AsJson a) Source # | |
| ToJSON a => EncodeValue (AsJson a) Source # | Encode anything that is an instance of |
Defined in Hasql.Interpolate.Internal.Json Methods encodeValue :: Value (AsJson a) Source # | |
Newtype for DecodeValue /
EncodeValue instances that converts
between a postgres jsonb type and anything that is an instance of
FromJSON / ToJSON
Constructors
| AsJsonb a |
Instances
| FromJSON a => DecodeValue (AsJsonb a) Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json Methods decodeValue :: Value (AsJsonb a) Source # | |
| ToJSON a => EncodeValue (AsJsonb a) Source # | Encode anything that is an instance of |
Defined in Hasql.Interpolate.Internal.Json Methods encodeValue :: Value (AsJsonb a) Source # | |