{-# LANGUAGE CPP #-}
module Data.Aeson.Types
(
Value(..)
, Array
, emptyArray
, Pair
, Object
, emptyObject
, DotNetTime(..)
, typeMismatch
, Parser
, Result(..)
, FromJSON(..)
, fromJSON
, parse
, parseEither
, parseMaybe
, ToJSON(..)
, modifyFailure
#ifdef GENERICS
, GFromJSON(..)
, GToJSON(..)
, genericToJSON
, genericParseJSON
#endif
, withObject
, withText
, withArray
, withNumber
, withScientific
, withBool
, (.=)
, (.:)
, (.:?)
, (.!=)
, object
, Options(..)
, SumEncoding(..)
, defaultOptions
, defaultTaggedObject
) where
import Data.Aeson.Types.Instances
import Data.Aeson.Types.Internal
#ifdef GENERICS
import Data.Aeson.Types.Generic ()
#endif