Module

Data.Argonaut.Decode.Combinators

Package
purescript-argonaut-codecs
Repository
purescript-contrib/purescript-argonaut-codecs

#getField Source

getField :: forall a. DecodeJson a => Object Json -> String -> Either String a

#getFieldOptional Source

#defaultField Source

defaultField :: forall a. Either String (Maybe a) -> a -> Either String a

#(.?) Source

Operator alias for Data.Argonaut.Decode.Combinators.getField (non-associative / precedence 7)

#(.??) Source

Operator alias for Data.Argonaut.Decode.Combinators.getFieldOptional (non-associative / precedence 7)

#(.?=) Source

Operator alias for Data.Argonaut.Decode.Combinators.defaultField (non-associative / precedence 6)