Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Strong type for JSON keys.
Since: 2.0.0.0
Documentation
Instances
Arbitrary Key Source # | Since: 2.0.3.0 |
CoArbitrary Key Source # | Since: 2.0.3.0 |
Defined in Data.Aeson.Key | |
Function Key Source # | Since: 2.0.3.0 |
FromJSON Key Source # | |
FromJSONKey Key Source # | |
Defined in Data.Aeson.Types.FromJSON | |
ToJSON Key Source # | |
ToJSONKey Key Source # | |
Defined in Data.Aeson.Types.ToJSON | |
Data Key Source # | |
Defined in Data.Aeson.Key gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Key -> c Key # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Key # dataTypeOf :: Key -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Key) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Key) # gmapT :: (forall b. Data b => b -> b) -> Key -> Key # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Key -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Key -> r # gmapQ :: (forall d. Data d => d -> u) -> Key -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Key -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Key -> m Key # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Key -> m Key # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Key -> m Key # | |
IsString Key Source # | |
Defined in Data.Aeson.Key fromString :: String -> Key # | |
Monoid Key Source # | |
Semigroup Key Source # | |
Read Key Source # | |
Show Key Source # | |
NFData Key Source # | |
Defined in Data.Aeson.Key | |
Eq Key Source # | |
Ord Key Source # | |
Hashable Key Source # | |
FoldableWithIndex Key KeyMap Source # | |
Defined in Data.Aeson.KeyMap ifoldMap :: Monoid m => (Key -> a -> m) -> KeyMap a -> m Source # ifoldMap' :: Monoid m => (Key -> a -> m) -> KeyMap a -> m Source # ifoldr :: (Key -> a -> b -> b) -> b -> KeyMap a -> b Source # ifoldl :: (Key -> b -> a -> b) -> b -> KeyMap a -> b Source # ifoldr' :: (Key -> a -> b -> b) -> b -> KeyMap a -> b Source # ifoldl' :: (Key -> b -> a -> b) -> b -> KeyMap a -> b Source # | |
FunctorWithIndex Key KeyMap Source # | |
TraversableWithIndex Key KeyMap Source # | |
Defined in Data.Aeson.KeyMap | |
SemialignWithIndex Key KeyMap Source # | |
Defined in Data.Aeson.KeyMap | |
ZipWithIndex Key KeyMap Source # | |
Lift Key Source # | |
FilterableWithIndex Key KeyMap Source # | |
WitherableWithIndex Key KeyMap Source # | |
fromString :: String -> Key Source #
toShortText :: Key -> ShortText Source #
Since: 2.0.2.0
fromShortText :: ShortText -> Key Source #
Since: 2.0.2.0