Safe Haskell | None |
---|---|
Language | Haskell98 |
- class FromJSON b => List a b | a -> b where
- data PagingInformation = PagingInformation {
- pageNumber :: !Integer
- numberOfPages :: !(Maybe Integer)
- pageSize :: !Integer
- total :: !(Maybe Integer)
- start :: !Integer
- end :: !Integer
- pageURI :: !(Maybe URI)
- firstPageURI :: !(Maybe URI)
- nextPageURI :: !(Maybe URI)
- previousPageURI :: !(Maybe URI)
- lastPageURI :: !(Maybe URI)
- data Wrapper a
- wrap :: a -> Wrapper a
Documentation
class FromJSON b => List a b | a -> b where Source #
getListWrapper :: Wrapper (Maybe PagingInformation -> [b] -> a) Source #
The items in the List
.
getPlural :: Const Text (a, b) Source #
The plural name for the items in the List
.
parseJSONToList :: Value -> Parser a Source #
data PagingInformation Source #
PagingInformation | |
|