| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Aeson.Key
Description
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 Methods coarbitrary :: Key -> Gen b -> Gen b | |
| Function Key Source # | Since: 2.0.3.0 |
Defined in Data.Aeson.Key | |
| FromJSON Key Source # | |
| FromJSONKey Key Source # | |
Defined in Data.Aeson.Types.FromJSON Methods | |
| ToJSON Key Source # | |
| ToJSONKey Key Source # | |
Defined in Data.Aeson.Types.ToJSON | |
| NFData Key Source # | |
Defined in Data.Aeson.Key | |
| Monoid Key Source # | |
| Semigroup Key Source # | |
| Data Key Source # | |
Defined in Data.Aeson.Key Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Key -> c Key Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Key Source # toConstr :: Key -> Constr Source # dataTypeOf :: Key -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Key) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Key) Source # gmapT :: (forall b. Data b => b -> b) -> Key -> Key Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Key -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Key -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Key -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Key -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Key -> m Key Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Key -> m Key Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Key -> m Key Source # | |
| IsString Key Source # | |
Defined in Data.Aeson.Key Methods fromString :: String -> Key Source # | |
| Read Key Source # | |
| Show Key Source # | |
| Eq Key Source # | |
| Ord Key Source # | |
| Hashable Key Source # | |
| FoldableWithIndex Key KeyMap | |
Defined in Data.Aeson.KeyMap | |
| FunctorWithIndex Key KeyMap | |
Defined in Data.Aeson.KeyMap | |
| TraversableWithIndex Key KeyMap | |
Defined in Data.Aeson.KeyMap Methods itraverse :: Applicative f => (Key -> a -> f b) -> KeyMap a -> f (KeyMap b) | |
| 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