Module

Classless.DecodeJson

Package
purescript-classless-decode-json
Repository
thought2/purescript-classless-decode-json

#DecodeJson Source

#array Source

array :: forall a. DecodeJson a -> DecodeJson (Array a)

#GDecodeJson Source

class GDecodeJson :: Row Type -> Row Type -> RowList Type -> Constraintclass GDecodeJson (spec :: Row Type) (row :: Row Type) (list :: RowList Type) | list -> row spec where

Members

Instances

#Record Source

class Record :: Row Type -> Row Type -> Constraintclass Record spec r | r -> spec where

Members

Instances

#either Source

either :: forall a b. DecodeJson a -> DecodeJson b -> DecodeJson (Either a b)

#tuple Source

tuple :: forall a b. DecodeJson a -> DecodeJson b -> DecodeJson (Tuple a b)

#maybe Source

maybe :: forall a. DecodeJson a -> DecodeJson (Maybe a)

Re-exports from Classless.DecodeJson.Generic

#Sum Source

class Sum :: Row Type -> Type -> Constraintclass Sum spec a | a -> spec where

Members

Instances