Safe Haskell | None |
---|---|
Language | Haskell2010 |
- jsonTestsTool :: Name -> APITool
- prop_decodesTo :: forall a. (Eq a, FromJSONWithErrs a) => Value -> a -> Bool
- prop_decodesTo' :: forall a. (Eq a, FromJSONWithErrs a) => ParseFlags -> Value -> a -> Bool
- prop_resultsMatchRoundtrip :: forall a. (Eq a, ToJSON a, FromJSONWithErrs a) => a -> Bool
Documentation
jsonTestsTool :: Name -> APITool Source
prop_decodesTo :: forall a. (Eq a, FromJSONWithErrs a) => Value -> a -> Bool Source
QuickCheck property that a Value
decodes to an expected Haskell
value, using fromJSONWithErrs
prop_decodesTo' :: forall a. (Eq a, FromJSONWithErrs a) => ParseFlags -> Value -> a -> Bool Source
QuickCheck property that a Value
decodes to an expected Haskell
value, using fromJSONWithErrs'
with the given ParseFlags
prop_resultsMatchRoundtrip :: forall a. (Eq a, ToJSON a, FromJSONWithErrs a) => a -> Bool Source
QuickCheck property that Haskell values can be encoded with
toJSON
and decoded with fromJSONWithErrs
to get the original
value