Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deriving.Aeson
Description
Type-directed aeson instance CustomJSONisation
Synopsis
- newtype CustomJSON (t :: k) a = CustomJSON {
- unCustomJSON :: a
- data FieldLabelModifier (t :: k)
- data ConstructorTagModifier (t :: k)
- data OmitNothingFields
- data RejectUnknownFields
- data TagSingleConstructors
- data NoAllNullaryToStringTag
- data UnwrapUnaryRecords
- data SumTaggedObject (t :: k) (c :: k1)
- data SumUntaggedValue
- data SumObjectWithSingleField
- data SumTwoElemArray
- data StripPrefix (t :: k)
- data StripSuffix (t :: k)
- data CamelTo (separator :: Symbol)
- type CamelToKebab = CamelTo "-"
- type CamelToSnake = CamelTo "_"
- data Rename (from :: Symbol) (to :: Symbol)
- class AesonOptions (xs :: k) where
- aesonOptions :: Options
- class StringModifier (t :: k) where
- getStringModifier :: String -> String
- class FromJSON a
- class ToJSON a
- class Generic a
Documentation
newtype CustomJSON (t :: k) a Source #
A newtype wrapper which gives FromJSON/ToJSON instances with modified options.
Constructors
CustomJSON | |
Fields
|
Instances
(AesonOptions t, Generic a, GFromJSON Zero (Rep a)) => FromJSON (CustomJSON t a) Source # | |
Defined in Deriving.Aeson Methods parseJSON :: Value -> Parser (CustomJSON t a) parseJSONList :: Value -> Parser [CustomJSON t a] omittedField :: Maybe (CustomJSON t a) | |
(AesonOptions t, Generic a, GToJSON Zero (Rep a), GToEncoding Zero (Rep a)) => ToJSON (CustomJSON t a) Source # | |
Defined in Deriving.Aeson Methods toJSON :: CustomJSON t a -> Value toEncoding :: CustomJSON t a -> Encoding toJSONList :: [CustomJSON t a] -> Value toEncodingList :: [CustomJSON t a] -> Encoding omitField :: CustomJSON t a -> Bool |
data FieldLabelModifier (t :: k) Source #
Function applied to field labels. Handy for removing common record prefixes for example.
Instances
(StringModifier f, AesonOptions xs) => AesonOptions (FieldLabelModifier f ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data ConstructorTagModifier (t :: k) Source #
Function applied to constructor tags which could be handy for lower-casing them for example.
Instances
(StringModifier f, AesonOptions xs) => AesonOptions (ConstructorTagModifier f ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data OmitNothingFields Source #
Record fields with a Nothing value will be omitted from the resulting object.
Instances
AesonOptions xs => AesonOptions (OmitNothingFields ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data RejectUnknownFields Source #
JSON Documents mapped to records with unmatched keys will be rejected
Instances
AesonOptions xs => AesonOptions (RejectUnknownFields ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data TagSingleConstructors Source #
Encode types with a single constructor as sums, so that allNullaryToStringTag and sumEncoding apply.
Instances
AesonOptions xs => AesonOptions (TagSingleConstructors ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data NoAllNullaryToStringTag Source #
the encoding will always follow the sumEncoding
.
Instances
AesonOptions xs => AesonOptions (NoAllNullaryToStringTag ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data UnwrapUnaryRecords Source #
Unpack single-field records
Instances
AesonOptions xs => AesonOptions (UnwrapUnaryRecords ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
Sum encoding
data SumTaggedObject (t :: k) (c :: k1) Source #
{ "tag": t, "content": c}
Instances
(KnownSymbol t, KnownSymbol c, AesonOptions xs) => AesonOptions (SumTaggedObject t c ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data SumUntaggedValue Source #
CONTENT
Instances
AesonOptions xs => AesonOptions (SumUntaggedValue ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data SumObjectWithSingleField Source #
{ TAG: CONTENT }
Instances
AesonOptions xs => AesonOptions (SumObjectWithSingleField ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
data SumTwoElemArray Source #
[TAG, CONTENT]
Instances
AesonOptions xs => AesonOptions (SumTwoElemArray ': xs :: [Type]) Source # | |
Defined in Deriving.Aeson Methods aesonOptions :: Options Source # |
Name modifiers
data StripPrefix (t :: k) Source #
Strip prefix t
. If it doesn't have the prefix, keep it as-is.
Instances
KnownSymbol k => StringModifier (StripPrefix k :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # |
data StripSuffix (t :: k) Source #
Strip suffix t
. If it doesn't have the suffix, keep it as-is.
Instances
KnownSymbol k => StringModifier (StripSuffix k :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # |
data CamelTo (separator :: Symbol) Source #
Generic CamelTo constructor taking in a separator char
Instances
(KnownSymbol separator, NonEmptyString separator) => StringModifier (CamelTo separator :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # |
type CamelToKebab = CamelTo "-" Source #
CamelCase to kebab-case
type CamelToSnake = CamelTo "_" Source #
CamelCase to snake_case
data Rename (from :: Symbol) (to :: Symbol) Source #
Rename fields called from
to to
.
Instances
(KnownSymbol from, KnownSymbol to) => StringModifier (Rename from to :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # |
Interface
class AesonOptions (xs :: k) where Source #
Reify Options
from a type-level list
Methods
aesonOptions :: Options Source #
Instances
class StringModifier (t :: k) where Source #
Reify a function which modifies names
Methods
getStringModifier :: String -> String Source #
Instances
(KnownSymbol separator, NonEmptyString separator) => StringModifier (CamelTo separator :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
(KnownSymbol from, KnownSymbol to) => StringModifier (Rename from to :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
KnownSymbol k => StringModifier (StripPrefix k :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
KnownSymbol k => StringModifier (StripSuffix k :: Type) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
(StringModifier a, StringModifier b) => StringModifier ((a, b) :: Type) Source # | Left-to-right ( |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
(StringModifier a, StringModifier b, StringModifier c) => StringModifier ((a, b, c) :: Type) Source # | Left-to-right ( |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
(StringModifier a, StringModifier b, StringModifier c, StringModifier d) => StringModifier ((a, b, c, d) :: Type) Source # | Left-to-right ( |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
StringModifier ('[] :: [a]) Source # | |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # | |
(StringModifier a2, StringModifier as) => StringModifier (a2 ': as :: [a1]) Source # | Left-to-right ( |
Defined in Deriving.Aeson Methods getStringModifier :: String -> String Source # |
Reexports
Instances
FromJSON Key | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Key parseJSONList :: Value -> Parser [Key] omittedField :: Maybe Key | |
FromJSON DotNetTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser DotNetTime parseJSONList :: Value -> Parser [DotNetTime] omittedField :: Maybe DotNetTime | |
FromJSON Value | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Value parseJSONList :: Value -> Parser [Value] omittedField :: Maybe Value | |
FromJSON All | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser All parseJSONList :: Value -> Parser [All] omittedField :: Maybe All | |
FromJSON Any | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Any parseJSONList :: Value -> Parser [Any] omittedField :: Maybe Any | |
FromJSON Version | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Version parseJSONList :: Value -> Parser [Version] omittedField :: Maybe Version | |
FromJSON CTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser CTime parseJSONList :: Value -> Parser [CTime] omittedField :: Maybe CTime | |
FromJSON Void | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Void parseJSONList :: Value -> Parser [Void] omittedField :: Maybe Void | |
FromJSON Int16 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Int16 parseJSONList :: Value -> Parser [Int16] omittedField :: Maybe Int16 | |
FromJSON Int32 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Int32 parseJSONList :: Value -> Parser [Int32] omittedField :: Maybe Int32 | |
FromJSON Int64 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Int64 parseJSONList :: Value -> Parser [Int64] omittedField :: Maybe Int64 | |
FromJSON Int8 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Int8 parseJSONList :: Value -> Parser [Int8] omittedField :: Maybe Int8 | |
FromJSON Word16 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Word16 parseJSONList :: Value -> Parser [Word16] omittedField :: Maybe Word16 | |
FromJSON Word32 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Word32 parseJSONList :: Value -> Parser [Word32] omittedField :: Maybe Word32 | |
FromJSON Word64 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Word64 parseJSONList :: Value -> Parser [Word64] omittedField :: Maybe Word64 | |
FromJSON Word8 | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Word8 parseJSONList :: Value -> Parser [Word8] omittedField :: Maybe Word8 | |
FromJSON IntSet | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser IntSet parseJSONList :: Value -> Parser [IntSet] omittedField :: Maybe IntSet | |
FromJSON Ordering | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Ordering parseJSONList :: Value -> Parser [Ordering] omittedField :: Maybe Ordering | |
FromJSON URI | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser URI parseJSONList :: Value -> Parser [URI] omittedField :: Maybe URI | |
FromJSON Scientific | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Scientific parseJSONList :: Value -> Parser [Scientific] omittedField :: Maybe Scientific | |
FromJSON Text | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Text parseJSONList :: Value -> Parser [Text] omittedField :: Maybe Text | |
FromJSON Text | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Text parseJSONList :: Value -> Parser [Text] omittedField :: Maybe Text | |
FromJSON ShortText | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser ShortText parseJSONList :: Value -> Parser [ShortText] omittedField :: Maybe ShortText | |
FromJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser CalendarDiffDays parseJSONList :: Value -> Parser [CalendarDiffDays] omittedField :: Maybe CalendarDiffDays | |
FromJSON Day | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Day parseJSONList :: Value -> Parser [Day] omittedField :: Maybe Day | |
FromJSON Month | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Month parseJSONList :: Value -> Parser [Month] omittedField :: Maybe Month | |
FromJSON Quarter | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Quarter parseJSONList :: Value -> Parser [Quarter] omittedField :: Maybe Quarter | |
FromJSON QuarterOfYear | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser QuarterOfYear parseJSONList :: Value -> Parser [QuarterOfYear] omittedField :: Maybe QuarterOfYear | |
FromJSON DayOfWeek | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser DayOfWeek parseJSONList :: Value -> Parser [DayOfWeek] omittedField :: Maybe DayOfWeek | |
FromJSON DiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser DiffTime parseJSONList :: Value -> Parser [DiffTime] omittedField :: Maybe DiffTime | |
FromJSON NominalDiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser NominalDiffTime parseJSONList :: Value -> Parser [NominalDiffTime] omittedField :: Maybe NominalDiffTime | |
FromJSON SystemTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser SystemTime parseJSONList :: Value -> Parser [SystemTime] omittedField :: Maybe SystemTime | |
FromJSON UTCTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser UTCTime parseJSONList :: Value -> Parser [UTCTime] omittedField :: Maybe UTCTime | |
FromJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser CalendarDiffTime parseJSONList :: Value -> Parser [CalendarDiffTime] omittedField :: Maybe CalendarDiffTime | |
FromJSON LocalTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser LocalTime parseJSONList :: Value -> Parser [LocalTime] omittedField :: Maybe LocalTime | |
FromJSON TimeOfDay | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser TimeOfDay parseJSONList :: Value -> Parser [TimeOfDay] omittedField :: Maybe TimeOfDay | |
FromJSON ZonedTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser ZonedTime parseJSONList :: Value -> Parser [ZonedTime] omittedField :: Maybe ZonedTime | |
FromJSON UUID | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser UUID parseJSONList :: Value -> Parser [UUID] omittedField :: Maybe UUID | |
FromJSON Integer | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Integer parseJSONList :: Value -> Parser [Integer] omittedField :: Maybe Integer | |
FromJSON Natural | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Natural parseJSONList :: Value -> Parser [Natural] omittedField :: Maybe Natural | |
FromJSON () | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Bool | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Bool parseJSONList :: Value -> Parser [Bool] omittedField :: Maybe Bool | |
FromJSON Char | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Char parseJSONList :: Value -> Parser [Char] omittedField :: Maybe Char | |
FromJSON Double | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Double parseJSONList :: Value -> Parser [Double] omittedField :: Maybe Double | |
FromJSON Float | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Float parseJSONList :: Value -> Parser [Float] omittedField :: Maybe Float | |
FromJSON Int | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Int parseJSONList :: Value -> Parser [Int] omittedField :: Maybe Int | |
FromJSON Word | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Word parseJSONList :: Value -> Parser [Word] omittedField :: Maybe Word | |
FromJSON v => FromJSON (KeyMap v) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (KeyMap v) parseJSONList :: Value -> Parser [KeyMap v] omittedField :: Maybe (KeyMap v) | |
FromJSON a => FromJSON (Identity a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Identity a) parseJSONList :: Value -> Parser [Identity a] omittedField :: Maybe (Identity a) | |
FromJSON a => FromJSON (First a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (First a) parseJSONList :: Value -> Parser [First a] omittedField :: Maybe (First a) | |
FromJSON a => FromJSON (Last a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Last a) parseJSONList :: Value -> Parser [Last a] omittedField :: Maybe (Last a) | |
FromJSON a => FromJSON (Down a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Down a) parseJSONList :: Value -> Parser [Down a] omittedField :: Maybe (Down a) | |
FromJSON a => FromJSON (First a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (First a) parseJSONList :: Value -> Parser [First a] omittedField :: Maybe (First a) | |
FromJSON a => FromJSON (Last a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Last a) parseJSONList :: Value -> Parser [Last a] omittedField :: Maybe (Last a) | |
FromJSON a => FromJSON (Max a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Max a) parseJSONList :: Value -> Parser [Max a] omittedField :: Maybe (Max a) | |
FromJSON a => FromJSON (Min a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Min a) parseJSONList :: Value -> Parser [Min a] omittedField :: Maybe (Min a) | |
FromJSON a => FromJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (WrappedMonoid a) parseJSONList :: Value -> Parser [WrappedMonoid a] omittedField :: Maybe (WrappedMonoid a) | |
FromJSON a => FromJSON (Dual a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Dual a) parseJSONList :: Value -> Parser [Dual a] omittedField :: Maybe (Dual a) | |
FromJSON a => FromJSON (Product a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Product a) parseJSONList :: Value -> Parser [Product a] omittedField :: Maybe (Product a) | |
FromJSON a => FromJSON (Sum a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Sum a) parseJSONList :: Value -> Parser [Sum a] omittedField :: Maybe (Sum a) | |
FromJSON a => FromJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (NonEmpty a) parseJSONList :: Value -> Parser [NonEmpty a] omittedField :: Maybe (NonEmpty a) | |
(Generic a, GFromJSON Zero (Rep a)) => FromJSON (Generically a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Generically a) parseJSONList :: Value -> Parser [Generically a] omittedField :: Maybe (Generically a) | |
(FromJSON a, Integral a) => FromJSON (Ratio a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Ratio a) parseJSONList :: Value -> Parser [Ratio a] omittedField :: Maybe (Ratio a) | |
FromJSON a => FromJSON (IntMap a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (IntMap a) parseJSONList :: Value -> Parser [IntMap a] omittedField :: Maybe (IntMap a) | |
FromJSON a => FromJSON (Seq a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Seq a) parseJSONList :: Value -> Parser [Seq a] omittedField :: Maybe (Seq a) | |
(Ord a, FromJSON a) => FromJSON (Set a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Set a) parseJSONList :: Value -> Parser [Set a] omittedField :: Maybe (Set a) | |
FromJSON v => FromJSON (Tree v) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Tree v) parseJSONList :: Value -> Parser [Tree v] omittedField :: Maybe (Tree v) | |
FromJSON1 f => FromJSON (Fix f) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Fix f) parseJSONList :: Value -> Parser [Fix f] omittedField :: Maybe (Fix f) | |
(FromJSON1 f, Functor f) => FromJSON (Mu f) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Mu f) parseJSONList :: Value -> Parser [Mu f] omittedField :: Maybe (Mu f) | |
(FromJSON1 f, Functor f) => FromJSON (Nu f) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Nu f) parseJSONList :: Value -> Parser [Nu f] omittedField :: Maybe (Nu f) | |
FromJSON a => FromJSON (DNonEmpty a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (DNonEmpty a) parseJSONList :: Value -> Parser [DNonEmpty a] omittedField :: Maybe (DNonEmpty a) | |
FromJSON a => FromJSON (DList a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (DList a) parseJSONList :: Value -> Parser [DList a] omittedField :: Maybe (DList a) | |
FromJSON a => FromJSON (Array a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Array a) parseJSONList :: Value -> Parser [Array a] omittedField :: Maybe (Array a) | |
(Prim a, FromJSON a) => FromJSON (PrimArray a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (PrimArray a) parseJSONList :: Value -> Parser [PrimArray a] omittedField :: Maybe (PrimArray a) | |
FromJSON a => FromJSON (SmallArray a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (SmallArray a) parseJSONList :: Value -> Parser [SmallArray a] omittedField :: Maybe (SmallArray a) | |
FromJSON a => FromJSON (Maybe a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Maybe a) parseJSONList :: Value -> Parser [Maybe a] omittedField :: Maybe (Maybe a) | |
(Eq a, Hashable a, FromJSON a) => FromJSON (HashSet a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (HashSet a) parseJSONList :: Value -> Parser [HashSet a] omittedField :: Maybe (HashSet a) | |
FromJSON a => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Vector a) parseJSONList :: Value -> Parser [Vector a] omittedField :: Maybe (Vector a) | |
(Prim a, FromJSON a) => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Vector a) parseJSONList :: Value -> Parser [Vector a] omittedField :: Maybe (Vector a) | |
(Storable a, FromJSON a) => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Vector a) parseJSONList :: Value -> Parser [Vector a] omittedField :: Maybe (Vector a) | |
(Vector Vector a, FromJSON a) => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Vector a) parseJSONList :: Value -> Parser [Vector a] omittedField :: Maybe (Vector a) | |
FromJSON a => FromJSON (Maybe a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Maybe a) parseJSONList :: Value -> Parser [Maybe a] omittedField :: Maybe (Maybe a) | |
FromJSON a => FromJSON (Solo a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Solo a) parseJSONList :: Value -> Parser [Solo a] omittedField :: Maybe (Solo a) | |
FromJSON a => FromJSON [a] | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser [a] parseJSONList :: Value -> Parser [[a]] omittedField :: Maybe [a] | |
(FromJSON a, FromJSON b) => FromJSON (Either a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Either a b) parseJSONList :: Value -> Parser [Either a b] omittedField :: Maybe (Either a b) | |
HasResolution a => FromJSON (Fixed a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Fixed a) parseJSONList :: Value -> Parser [Fixed a] omittedField :: Maybe (Fixed a) | |
FromJSON (Proxy a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Proxy a) parseJSONList :: Value -> Parser [Proxy a] omittedField :: Maybe (Proxy a) | |
(FromJSONKey k, Ord k, FromJSON v) => FromJSON (Map k v) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Map k v) parseJSONList :: Value -> Parser [Map k v] omittedField :: Maybe (Map k v) | |
(FromJSON a, FromJSON b) => FromJSON (Either a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Either a b) parseJSONList :: Value -> Parser [Either a b] omittedField :: Maybe (Either a b) | |
(FromJSON a, FromJSON b) => FromJSON (These a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (These a b) parseJSONList :: Value -> Parser [These a b] omittedField :: Maybe (These a b) | |
(FromJSON a, FromJSON b) => FromJSON (Pair a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Pair a b) parseJSONList :: Value -> Parser [Pair a b] omittedField :: Maybe (Pair a b) | |
(FromJSON a, FromJSON b) => FromJSON (These a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (These a b) parseJSONList :: Value -> Parser [These a b] omittedField :: Maybe (These a b) | |
(FromJSON v, FromJSONKey k, Eq k, Hashable k) => FromJSON (HashMap k v) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (HashMap k v) parseJSONList :: Value -> Parser [HashMap k v] omittedField :: Maybe (HashMap k v) | |
(FromJSON a, FromJSON b) => FromJSON (a, b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b) parseJSONList :: Value -> Parser [(a, b)] omittedField :: Maybe (a, b) | |
FromJSON a => FromJSON (Const a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Const a b) parseJSONList :: Value -> Parser [Const a b] omittedField :: Maybe (Const a b) | |
(AesonOptions t, Generic a, GFromJSON Zero (Rep a)) => FromJSON (CustomJSON t a) Source # | |
Defined in Deriving.Aeson Methods parseJSON :: Value -> Parser (CustomJSON t a) parseJSONList :: Value -> Parser [CustomJSON t a] omittedField :: Maybe (CustomJSON t a) | |
FromJSON b => FromJSON (Tagged a b) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Tagged a b) parseJSONList :: Value -> Parser [Tagged a b] omittedField :: Maybe (Tagged a b) | |
(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (These1 f g a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (These1 f g a) parseJSONList :: Value -> Parser [These1 f g a] omittedField :: Maybe (These1 f g a) | |
(FromJSON a, FromJSON b, FromJSON c) => FromJSON (a, b, c) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c) parseJSONList :: Value -> Parser [(a, b, c)] omittedField :: Maybe (a, b, c) | |
(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Product f g a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Product f g a) parseJSONList :: Value -> Parser [Product f g a] omittedField :: Maybe (Product f g a) | |
(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Sum f g a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Sum f g a) parseJSONList :: Value -> Parser [Sum f g a] omittedField :: Maybe (Sum f g a) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d) => FromJSON (a, b, c, d) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d) parseJSONList :: Value -> Parser [(a, b, c, d)] omittedField :: Maybe (a, b, c, d) | |
(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Compose f g a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (Compose f g a) parseJSONList :: Value -> Parser [Compose f g a] omittedField :: Maybe (Compose f g a) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) => FromJSON (a, b, c, d, e) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e) parseJSONList :: Value -> Parser [(a, b, c, d, e)] omittedField :: Maybe (a, b, c, d, e) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) => FromJSON (a, b, c, d, e, f) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f) parseJSONList :: Value -> Parser [(a, b, c, d, e, f)] omittedField :: Maybe (a, b, c, d, e, f) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) => FromJSON (a, b, c, d, e, f, g) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g)] omittedField :: Maybe (a, b, c, d, e, f, g) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) => FromJSON (a, b, c, d, e, f, g, h) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h)] omittedField :: Maybe (a, b, c, d, e, f, g, h) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) => FromJSON (a, b, c, d, e, f, g, h, i) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) => FromJSON (a, b, c, d, e, f, g, h, i, j) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i, j) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) => FromJSON (a, b, c, d, e, f, g, h, i, j, k) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i, j, k) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i, j, k, l) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] omittedField :: Maybe (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
Instances
ToJSON Key | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Key -> Value toEncoding :: Key -> Encoding toJSONList :: [Key] -> Value toEncodingList :: [Key] -> Encoding omitField :: Key -> Bool | |
ToJSON DotNetTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DotNetTime -> Value toEncoding :: DotNetTime -> Encoding toJSONList :: [DotNetTime] -> Value toEncodingList :: [DotNetTime] -> Encoding omitField :: DotNetTime -> Bool | |
ToJSON Value | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Value -> Value toEncoding :: Value -> Encoding toJSONList :: [Value] -> Value toEncodingList :: [Value] -> Encoding omitField :: Value -> Bool | |
ToJSON All | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: All -> Value toEncoding :: All -> Encoding toJSONList :: [All] -> Value toEncodingList :: [All] -> Encoding omitField :: All -> Bool | |
ToJSON Any | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Any -> Value toEncoding :: Any -> Encoding toJSONList :: [Any] -> Value toEncodingList :: [Any] -> Encoding omitField :: Any -> Bool | |
ToJSON Version | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Version -> Value toEncoding :: Version -> Encoding toJSONList :: [Version] -> Value toEncodingList :: [Version] -> Encoding omitField :: Version -> Bool | |
ToJSON CTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: CTime -> Value toEncoding :: CTime -> Encoding toJSONList :: [CTime] -> Value toEncodingList :: [CTime] -> Encoding omitField :: CTime -> Bool | |
ToJSON Void | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Void -> Value toEncoding :: Void -> Encoding toJSONList :: [Void] -> Value toEncodingList :: [Void] -> Encoding omitField :: Void -> Bool | |
ToJSON Int16 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Int16 -> Value toEncoding :: Int16 -> Encoding toJSONList :: [Int16] -> Value toEncodingList :: [Int16] -> Encoding omitField :: Int16 -> Bool | |
ToJSON Int32 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Int32 -> Value toEncoding :: Int32 -> Encoding toJSONList :: [Int32] -> Value toEncodingList :: [Int32] -> Encoding omitField :: Int32 -> Bool | |
ToJSON Int64 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Int64 -> Value toEncoding :: Int64 -> Encoding toJSONList :: [Int64] -> Value toEncodingList :: [Int64] -> Encoding omitField :: Int64 -> Bool | |
ToJSON Int8 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Int8 -> Value toEncoding :: Int8 -> Encoding toJSONList :: [Int8] -> Value toEncodingList :: [Int8] -> Encoding omitField :: Int8 -> Bool | |
ToJSON Word16 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Word16 -> Value toEncoding :: Word16 -> Encoding toJSONList :: [Word16] -> Value toEncodingList :: [Word16] -> Encoding omitField :: Word16 -> Bool | |
ToJSON Word32 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Word32 -> Value toEncoding :: Word32 -> Encoding toJSONList :: [Word32] -> Value toEncodingList :: [Word32] -> Encoding omitField :: Word32 -> Bool | |
ToJSON Word64 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Word64 -> Value toEncoding :: Word64 -> Encoding toJSONList :: [Word64] -> Value toEncodingList :: [Word64] -> Encoding omitField :: Word64 -> Bool | |
ToJSON Word8 | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Word8 -> Value toEncoding :: Word8 -> Encoding toJSONList :: [Word8] -> Value toEncodingList :: [Word8] -> Encoding omitField :: Word8 -> Bool | |
ToJSON IntSet | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: IntSet -> Value toEncoding :: IntSet -> Encoding toJSONList :: [IntSet] -> Value toEncodingList :: [IntSet] -> Encoding omitField :: IntSet -> Bool | |
ToJSON Ordering | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Ordering -> Value toEncoding :: Ordering -> Encoding toJSONList :: [Ordering] -> Value toEncodingList :: [Ordering] -> Encoding omitField :: Ordering -> Bool | |
ToJSON URI | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: URI -> Value toEncoding :: URI -> Encoding toJSONList :: [URI] -> Value toEncodingList :: [URI] -> Encoding omitField :: URI -> Bool | |
ToJSON Scientific | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Scientific -> Value toEncoding :: Scientific -> Encoding toJSONList :: [Scientific] -> Value toEncodingList :: [Scientific] -> Encoding omitField :: Scientific -> Bool | |
ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Text -> Value toEncoding :: Text -> Encoding toJSONList :: [Text] -> Value toEncodingList :: [Text] -> Encoding omitField :: Text -> Bool | |
ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Text -> Value toEncoding :: Text -> Encoding toJSONList :: [Text] -> Value toEncodingList :: [Text] -> Encoding omitField :: Text -> Bool | |
ToJSON ShortText | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: ShortText -> Value toEncoding :: ShortText -> Encoding toJSONList :: [ShortText] -> Value toEncodingList :: [ShortText] -> Encoding omitField :: ShortText -> Bool | |
ToJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: CalendarDiffDays -> Value toEncoding :: CalendarDiffDays -> Encoding toJSONList :: [CalendarDiffDays] -> Value toEncodingList :: [CalendarDiffDays] -> Encoding omitField :: CalendarDiffDays -> Bool | |
ToJSON Day | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Day -> Value toEncoding :: Day -> Encoding toJSONList :: [Day] -> Value toEncodingList :: [Day] -> Encoding omitField :: Day -> Bool | |
ToJSON Month | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Month -> Value toEncoding :: Month -> Encoding toJSONList :: [Month] -> Value toEncodingList :: [Month] -> Encoding omitField :: Month -> Bool | |
ToJSON Quarter | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Quarter -> Value toEncoding :: Quarter -> Encoding toJSONList :: [Quarter] -> Value toEncodingList :: [Quarter] -> Encoding omitField :: Quarter -> Bool | |
ToJSON QuarterOfYear | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: QuarterOfYear -> Value toEncoding :: QuarterOfYear -> Encoding toJSONList :: [QuarterOfYear] -> Value toEncodingList :: [QuarterOfYear] -> Encoding omitField :: QuarterOfYear -> Bool | |
ToJSON DayOfWeek | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DayOfWeek -> Value toEncoding :: DayOfWeek -> Encoding toJSONList :: [DayOfWeek] -> Value toEncodingList :: [DayOfWeek] -> Encoding omitField :: DayOfWeek -> Bool | |
ToJSON DiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DiffTime -> Value toEncoding :: DiffTime -> Encoding toJSONList :: [DiffTime] -> Value toEncodingList :: [DiffTime] -> Encoding omitField :: DiffTime -> Bool | |
ToJSON NominalDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: NominalDiffTime -> Value toEncoding :: NominalDiffTime -> Encoding toJSONList :: [NominalDiffTime] -> Value toEncodingList :: [NominalDiffTime] -> Encoding omitField :: NominalDiffTime -> Bool | |
ToJSON SystemTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: SystemTime -> Value toEncoding :: SystemTime -> Encoding toJSONList :: [SystemTime] -> Value toEncodingList :: [SystemTime] -> Encoding omitField :: SystemTime -> Bool | |
ToJSON UTCTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: UTCTime -> Value toEncoding :: UTCTime -> Encoding toJSONList :: [UTCTime] -> Value toEncodingList :: [UTCTime] -> Encoding omitField :: UTCTime -> Bool | |
ToJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: CalendarDiffTime -> Value toEncoding :: CalendarDiffTime -> Encoding toJSONList :: [CalendarDiffTime] -> Value toEncodingList :: [CalendarDiffTime] -> Encoding omitField :: CalendarDiffTime -> Bool | |
ToJSON LocalTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: LocalTime -> Value toEncoding :: LocalTime -> Encoding toJSONList :: [LocalTime] -> Value toEncodingList :: [LocalTime] -> Encoding omitField :: LocalTime -> Bool | |
ToJSON TimeOfDay | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: TimeOfDay -> Value toEncoding :: TimeOfDay -> Encoding toJSONList :: [TimeOfDay] -> Value toEncodingList :: [TimeOfDay] -> Encoding omitField :: TimeOfDay -> Bool | |
ToJSON ZonedTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: ZonedTime -> Value toEncoding :: ZonedTime -> Encoding toJSONList :: [ZonedTime] -> Value toEncodingList :: [ZonedTime] -> Encoding omitField :: ZonedTime -> Bool | |
ToJSON UUID | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: UUID -> Value toEncoding :: UUID -> Encoding toJSONList :: [UUID] -> Value toEncodingList :: [UUID] -> Encoding omitField :: UUID -> Bool | |
ToJSON Integer | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Integer -> Value toEncoding :: Integer -> Encoding toJSONList :: [Integer] -> Value toEncodingList :: [Integer] -> Encoding omitField :: Integer -> Bool | |
ToJSON Natural | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Natural -> Value toEncoding :: Natural -> Encoding toJSONList :: [Natural] -> Value toEncodingList :: [Natural] -> Encoding omitField :: Natural -> Bool | |
ToJSON () | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: () -> Value toEncoding :: () -> Encoding toJSONList :: [()] -> Value toEncodingList :: [()] -> Encoding omitField :: () -> Bool | |
ToJSON Bool | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Bool -> Value toEncoding :: Bool -> Encoding toJSONList :: [Bool] -> Value toEncodingList :: [Bool] -> Encoding omitField :: Bool -> Bool | |
ToJSON Char | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Char -> Value toEncoding :: Char -> Encoding toJSONList :: [Char] -> Value toEncodingList :: [Char] -> Encoding omitField :: Char -> Bool | |
ToJSON Double | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Double -> Value toEncoding :: Double -> Encoding toJSONList :: [Double] -> Value toEncodingList :: [Double] -> Encoding omitField :: Double -> Bool | |
ToJSON Float | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Float -> Value toEncoding :: Float -> Encoding toJSONList :: [Float] -> Value toEncodingList :: [Float] -> Encoding omitField :: Float -> Bool | |
ToJSON Int | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Int -> Value toEncoding :: Int -> Encoding toJSONList :: [Int] -> Value toEncodingList :: [Int] -> Encoding omitField :: Int -> Bool | |
ToJSON Word | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Word -> Value toEncoding :: Word -> Encoding toJSONList :: [Word] -> Value toEncodingList :: [Word] -> Encoding omitField :: Word -> Bool | |
ToJSON v => ToJSON (KeyMap v) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: KeyMap v -> Value toEncoding :: KeyMap v -> Encoding toJSONList :: [KeyMap v] -> Value toEncodingList :: [KeyMap v] -> Encoding omitField :: KeyMap v -> Bool | |
ToJSON a => ToJSON (Identity a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Identity a -> Value toEncoding :: Identity a -> Encoding toJSONList :: [Identity a] -> Value toEncodingList :: [Identity a] -> Encoding omitField :: Identity a -> Bool | |
ToJSON a => ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: First a -> Value toEncoding :: First a -> Encoding toJSONList :: [First a] -> Value toEncodingList :: [First a] -> Encoding omitField :: First a -> Bool | |
ToJSON a => ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Last a -> Value toEncoding :: Last a -> Encoding toJSONList :: [Last a] -> Value toEncodingList :: [Last a] -> Encoding omitField :: Last a -> Bool | |
ToJSON a => ToJSON (Down a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Down a -> Value toEncoding :: Down a -> Encoding toJSONList :: [Down a] -> Value toEncodingList :: [Down a] -> Encoding omitField :: Down a -> Bool | |
ToJSON a => ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: First a -> Value toEncoding :: First a -> Encoding toJSONList :: [First a] -> Value toEncodingList :: [First a] -> Encoding omitField :: First a -> Bool | |
ToJSON a => ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Last a -> Value toEncoding :: Last a -> Encoding toJSONList :: [Last a] -> Value toEncodingList :: [Last a] -> Encoding omitField :: Last a -> Bool | |
ToJSON a => ToJSON (Max a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Max a -> Value toEncoding :: Max a -> Encoding toJSONList :: [Max a] -> Value toEncodingList :: [Max a] -> Encoding omitField :: Max a -> Bool | |
ToJSON a => ToJSON (Min a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Min a -> Value toEncoding :: Min a -> Encoding toJSONList :: [Min a] -> Value toEncodingList :: [Min a] -> Encoding omitField :: Min a -> Bool | |
ToJSON a => ToJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: WrappedMonoid a -> Value toEncoding :: WrappedMonoid a -> Encoding toJSONList :: [WrappedMonoid a] -> Value toEncodingList :: [WrappedMonoid a] -> Encoding omitField :: WrappedMonoid a -> Bool | |
ToJSON a => ToJSON (Dual a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Dual a -> Value toEncoding :: Dual a -> Encoding toJSONList :: [Dual a] -> Value toEncodingList :: [Dual a] -> Encoding omitField :: Dual a -> Bool | |
ToJSON a => ToJSON (Product a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Product a -> Value toEncoding :: Product a -> Encoding toJSONList :: [Product a] -> Value toEncodingList :: [Product a] -> Encoding omitField :: Product a -> Bool | |
ToJSON a => ToJSON (Sum a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Sum a -> Value toEncoding :: Sum a -> Encoding toJSONList :: [Sum a] -> Value toEncodingList :: [Sum a] -> Encoding omitField :: Sum a -> Bool | |
ToJSON a => ToJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: NonEmpty a -> Value toEncoding :: NonEmpty a -> Encoding toJSONList :: [NonEmpty a] -> Value toEncodingList :: [NonEmpty a] -> Encoding omitField :: NonEmpty a -> Bool | |
(Generic a, GToJSON' Value Zero (Rep a), GToJSON' Encoding Zero (Rep a)) => ToJSON (Generically a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Generically a -> Value toEncoding :: Generically a -> Encoding toJSONList :: [Generically a] -> Value toEncodingList :: [Generically a] -> Encoding omitField :: Generically a -> Bool | |
(ToJSON a, Integral a) => ToJSON (Ratio a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Ratio a -> Value toEncoding :: Ratio a -> Encoding toJSONList :: [Ratio a] -> Value toEncodingList :: [Ratio a] -> Encoding omitField :: Ratio a -> Bool | |
ToJSON a => ToJSON (IntMap a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: IntMap a -> Value toEncoding :: IntMap a -> Encoding toJSONList :: [IntMap a] -> Value toEncodingList :: [IntMap a] -> Encoding omitField :: IntMap a -> Bool | |
ToJSON a => ToJSON (Seq a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Seq a -> Value toEncoding :: Seq a -> Encoding toJSONList :: [Seq a] -> Value toEncodingList :: [Seq a] -> Encoding omitField :: Seq a -> Bool | |
ToJSON a => ToJSON (Set a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Set a -> Value toEncoding :: Set a -> Encoding toJSONList :: [Set a] -> Value toEncodingList :: [Set a] -> Encoding omitField :: Set a -> Bool | |
ToJSON v => ToJSON (Tree v) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Tree v -> Value toEncoding :: Tree v -> Encoding toJSONList :: [Tree v] -> Value toEncodingList :: [Tree v] -> Encoding omitField :: Tree v -> Bool | |
ToJSON1 f => ToJSON (Fix f) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Fix f -> Value toEncoding :: Fix f -> Encoding toJSONList :: [Fix f] -> Value toEncodingList :: [Fix f] -> Encoding omitField :: Fix f -> Bool | |
(ToJSON1 f, Functor f) => ToJSON (Mu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Mu f -> Value toEncoding :: Mu f -> Encoding toJSONList :: [Mu f] -> Value toEncodingList :: [Mu f] -> Encoding omitField :: Mu f -> Bool | |
(ToJSON1 f, Functor f) => ToJSON (Nu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Nu f -> Value toEncoding :: Nu f -> Encoding toJSONList :: [Nu f] -> Value toEncodingList :: [Nu f] -> Encoding omitField :: Nu f -> Bool | |
ToJSON a => ToJSON (DNonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DNonEmpty a -> Value toEncoding :: DNonEmpty a -> Encoding toJSONList :: [DNonEmpty a] -> Value toEncodingList :: [DNonEmpty a] -> Encoding omitField :: DNonEmpty a -> Bool | |
ToJSON a => ToJSON (DList a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DList a -> Value toEncoding :: DList a -> Encoding toJSONList :: [DList a] -> Value toEncodingList :: [DList a] -> Encoding omitField :: DList a -> Bool | |
ToJSON a => ToJSON (Array a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Array a -> Value toEncoding :: Array a -> Encoding toJSONList :: [Array a] -> Value toEncodingList :: [Array a] -> Encoding omitField :: Array a -> Bool | |
(Prim a, ToJSON a) => ToJSON (PrimArray a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: PrimArray a -> Value toEncoding :: PrimArray a -> Encoding toJSONList :: [PrimArray a] -> Value toEncodingList :: [PrimArray a] -> Encoding omitField :: PrimArray a -> Bool | |
ToJSON a => ToJSON (SmallArray a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: SmallArray a -> Value toEncoding :: SmallArray a -> Encoding toJSONList :: [SmallArray a] -> Value toEncodingList :: [SmallArray a] -> Encoding omitField :: SmallArray a -> Bool | |
ToJSON a => ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Maybe a -> Value toEncoding :: Maybe a -> Encoding toJSONList :: [Maybe a] -> Value toEncodingList :: [Maybe a] -> Encoding omitField :: Maybe a -> Bool | |
ToJSON a => ToJSON (HashSet a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: HashSet a -> Value toEncoding :: HashSet a -> Encoding toJSONList :: [HashSet a] -> Value toEncodingList :: [HashSet a] -> Encoding omitField :: HashSet a -> Bool | |
ToJSON a => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Vector a -> Value toEncoding :: Vector a -> Encoding toJSONList :: [Vector a] -> Value toEncodingList :: [Vector a] -> Encoding omitField :: Vector a -> Bool | |
(Prim a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Vector a -> Value toEncoding :: Vector a -> Encoding toJSONList :: [Vector a] -> Value toEncodingList :: [Vector a] -> Encoding omitField :: Vector a -> Bool | |
(Storable a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Vector a -> Value toEncoding :: Vector a -> Encoding toJSONList :: [Vector a] -> Value toEncodingList :: [Vector a] -> Encoding omitField :: Vector a -> Bool | |
(Vector Vector a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Vector a -> Value toEncoding :: Vector a -> Encoding toJSONList :: [Vector a] -> Value toEncodingList :: [Vector a] -> Encoding omitField :: Vector a -> Bool | |
ToJSON a => ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Maybe a -> Value toEncoding :: Maybe a -> Encoding toJSONList :: [Maybe a] -> Value toEncodingList :: [Maybe a] -> Encoding omitField :: Maybe a -> Bool | |
ToJSON a => ToJSON (Solo a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Solo a -> Value toEncoding :: Solo a -> Encoding toJSONList :: [Solo a] -> Value toEncodingList :: [Solo a] -> Encoding omitField :: Solo a -> Bool | |
ToJSON a => ToJSON [a] | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: [a] -> Value toEncoding :: [a] -> Encoding toJSONList :: [[a]] -> Value toEncodingList :: [[a]] -> Encoding omitField :: [a] -> Bool | |
(ToJSON a, ToJSON b) => ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Either a b -> Value toEncoding :: Either a b -> Encoding toJSONList :: [Either a b] -> Value toEncodingList :: [Either a b] -> Encoding omitField :: Either a b -> Bool | |
HasResolution a => ToJSON (Fixed a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Fixed a -> Value toEncoding :: Fixed a -> Encoding toJSONList :: [Fixed a] -> Value toEncodingList :: [Fixed a] -> Encoding omitField :: Fixed a -> Bool | |
ToJSON (Proxy a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Proxy a -> Value toEncoding :: Proxy a -> Encoding toJSONList :: [Proxy a] -> Value toEncodingList :: [Proxy a] -> Encoding omitField :: Proxy a -> Bool | |
(ToJSON v, ToJSONKey k) => ToJSON (Map k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Map k v -> Value toEncoding :: Map k v -> Encoding toJSONList :: [Map k v] -> Value toEncodingList :: [Map k v] -> Encoding omitField :: Map k v -> Bool | |
(ToJSON a, ToJSON b) => ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Either a b -> Value toEncoding :: Either a b -> Encoding toJSONList :: [Either a b] -> Value toEncodingList :: [Either a b] -> Encoding omitField :: Either a b -> Bool | |
(ToJSON a, ToJSON b) => ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: These a b -> Value toEncoding :: These a b -> Encoding toJSONList :: [These a b] -> Value toEncodingList :: [These a b] -> Encoding omitField :: These a b -> Bool | |
(ToJSON a, ToJSON b) => ToJSON (Pair a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Pair a b -> Value toEncoding :: Pair a b -> Encoding toJSONList :: [Pair a b] -> Value toEncodingList :: [Pair a b] -> Encoding omitField :: Pair a b -> Bool | |
(ToJSON a, ToJSON b) => ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: These a b -> Value toEncoding :: These a b -> Encoding toJSONList :: [These a b] -> Value toEncodingList :: [These a b] -> Encoding omitField :: These a b -> Bool | |
(ToJSON v, ToJSONKey k) => ToJSON (HashMap k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: HashMap k v -> Value toEncoding :: HashMap k v -> Encoding toJSONList :: [HashMap k v] -> Value toEncodingList :: [HashMap k v] -> Encoding omitField :: HashMap k v -> Bool | |
(ToJSON a, ToJSON b) => ToJSON (a, b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b) -> Value toEncoding :: (a, b) -> Encoding toJSONList :: [(a, b)] -> Value toEncodingList :: [(a, b)] -> Encoding omitField :: (a, b) -> Bool | |
ToJSON a => ToJSON (Const a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Const a b -> Value toEncoding :: Const a b -> Encoding toJSONList :: [Const a b] -> Value toEncodingList :: [Const a b] -> Encoding omitField :: Const a b -> Bool | |
(AesonOptions t, Generic a, GToJSON Zero (Rep a), GToEncoding Zero (Rep a)) => ToJSON (CustomJSON t a) Source # | |
Defined in Deriving.Aeson Methods toJSON :: CustomJSON t a -> Value toEncoding :: CustomJSON t a -> Encoding toJSONList :: [CustomJSON t a] -> Value toEncodingList :: [CustomJSON t a] -> Encoding omitField :: CustomJSON t a -> Bool | |
ToJSON b => ToJSON (Tagged a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Tagged a b -> Value toEncoding :: Tagged a b -> Encoding toJSONList :: [Tagged a b] -> Value toEncodingList :: [Tagged a b] -> Encoding omitField :: Tagged a b -> Bool | |
(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (These1 f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: These1 f g a -> Value toEncoding :: These1 f g a -> Encoding toJSONList :: [These1 f g a] -> Value toEncodingList :: [These1 f g a] -> Encoding omitField :: These1 f g a -> Bool | |
(ToJSON a, ToJSON b, ToJSON c) => ToJSON (a, b, c) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c) -> Value toEncoding :: (a, b, c) -> Encoding toJSONList :: [(a, b, c)] -> Value toEncodingList :: [(a, b, c)] -> Encoding omitField :: (a, b, c) -> Bool | |
(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Product f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Product f g a -> Value toEncoding :: Product f g a -> Encoding toJSONList :: [Product f g a] -> Value toEncodingList :: [Product f g a] -> Encoding omitField :: Product f g a -> Bool | |
(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Sum f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Sum f g a -> Value toEncoding :: Sum f g a -> Encoding toJSONList :: [Sum f g a] -> Value toEncodingList :: [Sum f g a] -> Encoding omitField :: Sum f g a -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d) => ToJSON (a, b, c, d) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d) -> Value toEncoding :: (a, b, c, d) -> Encoding toJSONList :: [(a, b, c, d)] -> Value toEncodingList :: [(a, b, c, d)] -> Encoding omitField :: (a, b, c, d) -> Bool | |
(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Compose f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Compose f g a -> Value toEncoding :: Compose f g a -> Encoding toJSONList :: [Compose f g a] -> Value toEncodingList :: [Compose f g a] -> Encoding omitField :: Compose f g a -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) => ToJSON (a, b, c, d, e) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e) -> Value toEncoding :: (a, b, c, d, e) -> Encoding toJSONList :: [(a, b, c, d, e)] -> Value toEncodingList :: [(a, b, c, d, e)] -> Encoding omitField :: (a, b, c, d, e) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) => ToJSON (a, b, c, d, e, f) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f) -> Value toEncoding :: (a, b, c, d, e, f) -> Encoding toJSONList :: [(a, b, c, d, e, f)] -> Value toEncodingList :: [(a, b, c, d, e, f)] -> Encoding omitField :: (a, b, c, d, e, f) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) => ToJSON (a, b, c, d, e, f, g) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g) -> Value toEncoding :: (a, b, c, d, e, f, g) -> Encoding toJSONList :: [(a, b, c, d, e, f, g)] -> Value toEncodingList :: [(a, b, c, d, e, f, g)] -> Encoding omitField :: (a, b, c, d, e, f, g) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) => ToJSON (a, b, c, d, e, f, g, h) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h) -> Value toEncoding :: (a, b, c, d, e, f, g, h) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h)] -> Encoding omitField :: (a, b, c, d, e, f, g, h) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) => ToJSON (a, b, c, d, e, f, g, h, i) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) => ToJSON (a, b, c, d, e, f, g, h, i, j) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i, j) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i, j)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i, j)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i, j) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) => ToJSON (a, b, c, d, e, f, g, h, i, j, k) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i, j, k) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i, j, k) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Value toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Encoding toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> Value toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> Encoding omitField :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool |
Minimal complete definition
from, to
Instances
Generic Value | |||||
Defined in Data.Aeson.Types.Internal Associated Types
| |||||
Generic Version | |||||
Defined in Data.Version Associated Types
| |||||
Generic Void | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic ByteOrder | |||||
Defined in GHC.ByteOrder Associated Types
| |||||
Generic Fingerprint | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic Associativity | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic DecidedStrictness | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic Fixity | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic SourceStrictness | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic SourceUnpackedness | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic ExitCode | |||||
Defined in GHC.IO.Exception Associated Types
| |||||
Generic CCFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic ConcFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic DebugFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic DoCostCentres | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic DoHeapProfile | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic DoTrace | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic GCFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic GiveGCStats | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic MiscFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic ParFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic ProfFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic RTSFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic TickyFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic TraceFlags | |||||
Defined in GHC.RTS.Flags Associated Types
| |||||
Generic SrcLoc | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic GCDetails | |||||
Defined in GHC.Stats Associated Types
| |||||
Generic RTSStats | |||||
Defined in GHC.Stats Associated Types
| |||||
Generic GeneralCategory | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic Ordering | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic () | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic Bool | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (ZipList a) | |||||
Defined in Control.Applicative Associated Types
| |||||
Generic (Complex a) | |||||
Defined in Data.Complex Associated Types
| |||||
Generic (Identity a) | |||||
Defined in Data.Functor.Identity Associated Types
| |||||
Generic (First a) | |||||
Defined in Data.Monoid Associated Types
| |||||
Generic (Last a) | |||||
Defined in Data.Monoid Associated Types
| |||||
Generic (Down a) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (First a) | |||||
Defined in Data.Semigroup Associated Types
| |||||
Generic (Last a) | |||||
Defined in Data.Semigroup Associated Types
| |||||
Generic (Max a) | |||||
Defined in Data.Semigroup Associated Types
| |||||
Generic (Min a) | |||||
Defined in Data.Semigroup Associated Types
| |||||
Generic (WrappedMonoid m) | |||||
Defined in Data.Semigroup Associated Types
| |||||
Generic (NonEmpty a) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Par1 p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Maybe a) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Solo a) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic [a] | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (WrappedMonad m a) | |||||
Defined in Control.Applicative Associated Types
| |||||
Generic (Either a b) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Proxy t) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Arg a b) | |||||
Defined in Data.Semigroup Associated Types
| |||||
Generic (U1 p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (V1 p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (WrappedArrow a b c) | |||||
Defined in Control.Applicative Associated Types
| |||||
Generic (Kleisli m a b) | |||||
Defined in Control.Arrow Associated Types
| |||||
Generic (Const a b) | |||||
Defined in Data.Functor.Const Associated Types
| |||||
Generic (Ap f a) | |||||
Defined in Data.Monoid Associated Types
| |||||
Generic (Rec1 f p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (URec (Ptr ()) p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (URec Char p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (URec Double p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (URec Float p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (URec Int p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (URec Word p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Product f g a) | |||||
Defined in Data.Functor.Product Associated Types
| |||||
Generic (Sum f g a) | |||||
Defined in Data.Functor.Sum Associated Types
| |||||
Generic ((f :*: g) p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic ((f :+: g) p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (K1 i c p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (Compose f g a) | |||||
Defined in Data.Functor.Compose Associated Types
| |||||
Generic ((f :.: g) p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (M1 i c f p) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i, j) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i, j, k) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i, j, k, l) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i, j, k, l, m) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |||||
Defined in GHC.Generics Associated Types
| |||||
Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) | |||||
Defined in GHC.Generics Associated Types
|