Autodocodec.Aeson.Compat
toKey :: Text -> Key Source #
fromKey :: Key -> Text Source #
lookupKey :: Key -> KeyMap v -> Maybe v Source #
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 #