Module
Data.Argonaut.Decode.Decoders
- Package
- purescript-argonaut-codecs
- Repository
- purescript-contrib/purescript-argonaut-codecs
#decodeIdentity Source
decodeIdentity :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (Identity a)
#decodeMaybe Source
decodeMaybe :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (Maybe a)
#decodeTuple Source
decodeTuple :: forall a b. (Json -> Either JsonDecodeError a) -> (Json -> Either JsonDecodeError b) -> Json -> Either JsonDecodeError (Tuple a b)
#decodeEither Source
decodeEither :: forall a b. (Json -> Either JsonDecodeError a) -> (Json -> Either JsonDecodeError b) -> Json -> Either JsonDecodeError (Either a b)
#decodeNull Source
decodeNull :: Json -> Either JsonDecodeError Unit
#decodeNonEmpty_Array Source
decodeNonEmpty_Array :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (NonEmpty Array a)
#decodeNonEmptyArray Source
decodeNonEmptyArray :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (NonEmptyArray a)
#decodeNonEmpty_List Source
decodeNonEmpty_List :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (NonEmpty List a)
#decodeNonEmptyList Source
decodeNonEmptyList :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (NonEmptyList a)
#decodeForeignObject Source
decodeForeignObject :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (Object a)
#decodeArray Source
decodeArray :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (Array a)
#decodeList Source
decodeList :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (List a)
#decodeSet Source
decodeSet :: forall a. Ord a => (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (Set a)
#decodeMap Source
decodeMap :: forall a b. Ord a => (Json -> Either JsonDecodeError a) -> (Json -> Either JsonDecodeError b) -> Json -> Either JsonDecodeError (Map a b)
#decodeVoid Source
decodeVoid :: Json -> Either JsonDecodeError Void
#decodeJArray Source
decodeJArray :: Json -> Either JsonDecodeError (Array Json)
#decodeJObject Source
decodeJObject :: Json -> Either JsonDecodeError (Object Json)
#getField Source
getField :: forall a. (Json -> Either JsonDecodeError a) -> Object Json -> String -> Either JsonDecodeError a
#getFieldOptional Source
getFieldOptional :: forall a. (Json -> Either JsonDecodeError a) -> Object Json -> String -> Either JsonDecodeError (Maybe a)
#getFieldOptional' Source
getFieldOptional' :: forall a. (Json -> Either JsonDecodeError a) -> Object Json -> String -> Either JsonDecodeError (Maybe a)