serverless-haskell-0.6.2: Deploying Haskell code onto AWS Lambda using Serverless

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.TextValue

Description

Provides FromJSON and ToJSON instances for anything that has FromText and ToText instances, e.g. TextValue Text, (FromJSON a, ToJSON a) => TextValue (Embedded a), TextValue Base64

Documentation

newtype TextValue a Source #

Constructors

TextValue 

Fields

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

Defined in Data.Aeson.TextValue

Methods

(==) :: TextValue a -> TextValue a -> Bool #

(/=) :: TextValue a -> TextValue a -> Bool #

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

Defined in Data.Aeson.TextValue

IsString a => IsString (TextValue a) Source # 
Instance details

Defined in Data.Aeson.TextValue

Methods

fromString :: String -> TextValue a #

ToText a => ToJSON (TextValue a) Source # 
Instance details

Defined in Data.Aeson.TextValue

FromText a => FromJSON (TextValue a) Source # 
Instance details

Defined in Data.Aeson.TextValue

unTextValue :: forall a a. Iso (TextValue a) (TextValue a) a a Source #