minion-0.1.0.0: A Haskell introspectable web router
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Minion.Response.Body.Json

Documentation

handleJson Source #

Arguments

:: forall o m ts i st. HandleArgs ts st m 
=> ToJSON o 
=> MonadIO m 
=> Introspection i Response (RespBody '[Json] o) 
=> Method

.

-> (DelayedArgs st ~> m o) 
-> Router' i ts m