-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | An API for parsing "aeson" JSON tree into Haskell types
--
-- An API for parsing "aeson" JSON tree into Haskell types
@package aeson-value-parser
@version 0.12
-- | A parser DSL for the "aeson" model of the JSON tree.
module Aeson.ValueParser
-- | A JSON Value parser.
data Value a
run :: Value a -> Value -> Either Text a
object :: Object a -> Value a
array :: Array a -> Value a
null :: Value ()
nullable :: Value a -> Value (Maybe a)
string :: Value Text
number :: Value Scientific
bool :: Value Bool
fromJSON :: FromJSON a => Value a
-- | Lifts JSON Pointer.
pointed :: JSONPointer -> Value a -> Value a
-- | A JSON Object parser.
data Object a
field :: Text -> Value a -> Object a
fieldsMap :: Value a -> Object (HashMap Text a)
foldlFields :: (a -> (Text, b) -> a) -> a -> Value b -> Object a
-- | A JSON Array parser.
data Array a
element :: Int -> Value a -> Array a
elementsVector :: Value a -> Array (Vector a)
foldlElements :: (a -> b -> a) -> a -> Value b -> Array a
foldlElements1 :: (a -> a -> a) -> Value a -> Array a
foldrElements :: (b -> a -> a) -> a -> Value b -> Array a
instance GHC.Base.MonadPlus Aeson.ValueParser.Array
instance GHC.Base.Monad Aeson.ValueParser.Array
instance GHC.Base.Alternative Aeson.ValueParser.Array
instance GHC.Base.Applicative Aeson.ValueParser.Array
instance GHC.Base.Functor Aeson.ValueParser.Array
instance GHC.Base.MonadPlus Aeson.ValueParser.Object
instance GHC.Base.Monad Aeson.ValueParser.Object
instance GHC.Base.Alternative Aeson.ValueParser.Object
instance GHC.Base.Applicative Aeson.ValueParser.Object
instance GHC.Base.Functor Aeson.ValueParser.Object
instance GHC.Base.MonadPlus Aeson.ValueParser.Value
instance GHC.Base.Monad Aeson.ValueParser.Value
instance GHC.Base.Alternative Aeson.ValueParser.Value
instance GHC.Base.Applicative Aeson.ValueParser.Value
instance GHC.Base.Functor Aeson.ValueParser.Value