-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Validity instances for aeson -- -- Validity instances for aeson @package validity-aeson @version 0.2.0.4 module Data.Validity.Aeson -- | Modify a parser to fail on invalid results. parseJSONValid :: Validity a => Parser a -> Parser a -- | Modify a parsing function to fail on invalid results. -- -- Easy to use with the withX helper functions: -- --
--   parseJSON = parseJSONValidwith . withObject "MyThing" $ \o ->
--     MyThing <$> ...
--   
parseJSONValidWith :: Validity a => (value -> Parser a) -> value -> Parser a instance Data.Validity.Validity Data.Aeson.Types.Internal.Value