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.

  1. (.:?) :: 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.

  2. (.:?=) :: FromJSON a => Object -> Key -> Parser a

    safe-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.

  3. (.=) :: (KeyValue e kv, ToJSON v) => Key -> v -> kv

    safe-json Data.Aeson.Safe

    No documentation available.

  4. (.?=) :: (KeyValueOmit e kv, ToJSON v) => Key -> v -> kv

    safe-json Data.Aeson.Safe

    No documentation available.

  5. (.:$) :: SafeJSON a => Object -> Key -> Parser a

    safe-json Data.SafeJSON

    Similar to .:, but uses safeFromJSON instead of parseJSON to parse the value in the given field.

  6. (.:$!) :: 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.

  7. (.:$?) :: 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.

  8. (.=$) :: (SafeJSON a, KeyValue e kv) => Key -> a -> kv

    safe-json Data.SafeJSON

    Similarly to .=, but uses safeToJSON instead of toJSON to convert the value in that key-value pair.

  9. (.:) :: Text -> (forall t1 . () => Grammar Position (Sexp :- t1) (a :- t1)) -> Grammar Position (PropertyList :- t) (PropertyList :- (a :- t))

    sexp-grammar Language.SexpGrammar

    Property by a key grammar. Infix version of key.

  10. (.:?) :: Text -> (forall t1 . () => Grammar Position (Sexp :- t1) (a :- t1)) -> Grammar Position (PropertyList :- t) (PropertyList :- (Maybe a :- t))

    sexp-grammar Language.SexpGrammar

    Optional property by a key grammar. Infix version of optKey.

Page 76 of many | Previous | Next