Hoogle Search
Within LTS Haskell 24.20 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
.:? ) :: FromJSON a => Object -> Key -> Parser (Maybe a)safe-json Data.Aeson.Safe Retrieve the value associated with the given key of an Object. The result is Nothing if the key is not present or if its value is Null, or empty if the value cannot be converted to the desired type. This accessor is most useful if the key and value can be absent from an object without affecting its validity. If the key and value are mandatory, use .: instead.
(
.:?= ) :: FromJSON a => Object -> Key -> Parser asafe-json Data.Aeson.Safe Retrieve the value associated with the given key of an Object. If the key is not present or the field is null and the omittedField is Just x for some x, the result will be that x.
(
.= ) :: (KeyValue e kv, ToJSON v) => Key -> v -> kvsafe-json Data.Aeson.Safe No documentation available.
(
.?= ) :: (KeyValueOmit e kv, ToJSON v) => Key -> v -> kvsafe-json Data.Aeson.Safe No documentation available.
(
.:$ ) :: SafeJSON a => Object -> Key -> Parser asafe-json Data.SafeJSON Similar to .:, but uses safeFromJSON instead of parseJSON to parse the value in the given field.
(
.:$! ) :: SafeJSON a => Object -> Key -> Parser (Maybe a)safe-json Data.SafeJSON Similar to .:!, but uses safeFromJSON instead of parseJSON to maybe parse the value in the given field.
(
.:$? ) :: SafeJSON a => Object -> Key -> Parser (Maybe a)safe-json Data.SafeJSON Similar to .:?, but uses safeFromJSON instead of parseJSON to maybe parse the value in the given field.
(
.=$ ) :: (SafeJSON a, KeyValue e kv) => Key -> a -> kvsafe-json Data.SafeJSON Similarly to .=, but uses safeToJSON instead of toJSON to convert the value in that key-value pair.
-
sexp-grammar Language.SexpGrammar Property by a key grammar. Infix version of key.
-
sexp-grammar Language.SexpGrammar Optional property by a key grammar. Infix version of optKey.