autodocodec-0.2.2.0: Self-documenting encoder and decoder
Safe HaskellSafe-Inferred
LanguageHaskell2010

Autodocodec.Aeson.Compat

Documentation

insert :: Key -> v -> KeyMap v -> KeyMap v Source #

fromList :: [(Key, v)] -> KeyMap v Source #

toList :: KeyMap v -> [(Key, v)] Source #

map :: (v1 -> v2) -> KeyMap v1 -> KeyMap v2 Source #

liftToJSON :: ToJSON1 f => (a -> Value) -> ([a] -> Value) -> f a -> Value Source #

liftToEncoding :: ToJSON1 f => (a -> Encoding) -> ([a] -> Encoding) -> f a -> Encoding Source #

liftParseJSON :: FromJSON1 f => (Value -> Parser a) -> (Value -> Parser [a]) -> Value -> Parser (f a) Source #