| Copyright | (c) Plow Technologies 2016 |
|---|---|
| License | BSD3 |
| Maintainer | mchaver@gmail.com |
| Stability | Beta |
| Safe Haskell | None |
| Language | Haskell2010 |
Test.Aeson.Internal.RoundtripSpecs
Description
Internal module, use at your own risk.
- roundtripSpecs :: forall a. (Typeable a, Arbitrary a, ToJSON a, FromJSON a) => Proxy a -> Spec
- genericAesonRoundtripWithNote :: forall a. (Typeable a, Arbitrary a, ToJSON a, FromJSON a) => Proxy a -> Maybe String -> Spec
- genericAesonRoundtripWithNotePlain :: forall a. (Arbitrary a, ToJSON a, FromJSON a) => Proxy a -> Maybe String -> String -> Spec
Documentation
roundtripSpecs :: forall a. (Typeable a, Arbitrary a, ToJSON a, FromJSON a) => Proxy a -> Spec Source #
A roundtrip test to check whether values of the given type can be successfully converted to JSON and back to a Haskell value.
roundtripSpecs will