Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- reqJson :: forall r m i ts. Introspection i Request (ReqBody '[Json] r) => FromJSON r => (MonadIO m, MonadThrow m) => ValueCombinator i (WithReq m (ReqBody '[Json] r)) ts m
Documentation
:: forall r m i ts. Introspection i Request (ReqBody '[Json] r) | |
=> FromJSON r | |
=> (MonadIO m, MonadThrow m) | |
=> ValueCombinator i (WithReq m (ReqBody '[Json] r)) ts m | . |
Extracts JSON from request
.../>
reqJson
@MyType.>
...