Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
withContentNegotiationJson :: ((forall a. ToJSON a => EntityResponse a -> NegotiatedResponse) -> GenericApplication NegotiatedResponse) -> GenericApplication Response Source #
entityJson :: FromJSON a => (a -> GenericApplication b) -> GenericApplication b Source #