| License | MIT |
|---|---|
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Composite.Aeson.Throw
Description
MonadThrow behaviour for composite-aeson.
Synopsis
- data CompositeAesonParseException a
- parseValue' :: (Typeable e, Show e, MonadThrow m) => JsonFormat e x -> Value -> m x
Documentation
data CompositeAesonParseException a Source #
Simple exception type for composite-aeson.
Instances
parseValue' :: (Typeable e, Show e, MonadThrow m) => JsonFormat e x -> Value -> m x Source #
Parse a value according to the provided JsonFormat and throw to MonadThrow on exception.