packages feed

himari-1.0.2.0: src/Himari/Prelude/Aeson.hs

-- | "Data.Aeson", "Data.Aeson.Encode.Pretty", "Data.Aeson.QQ.Simple", and "Deriving.Aeson" re-exports for JSON handling.
module Himari.Prelude.Aeson
  ( module Export
  ) where

-- aeson has many functions with common names that may conflict,
-- so we hide some and selectively import others.
import Data.Aeson as Export hiding
  ( KeyValue
  , Options
  , decode
  , decode'
  , decodeFileStrict
  , decodeFileStrict'
  , decodeStrict
  , decodeStrict'
  , decodeStrictText
  , defaultOptions
  , eitherDecode'
  , eitherDecodeFileStrict'
  , eitherDecodeStrict'
  , object
  , pairs
  , throwDecode'
  , throwDecodeStrict'
  , (.=)
  )
import Data.Aeson.Encode.Pretty as Export
  ( encodePretty
  , encodePretty'
  , encodePrettyToTextBuilder
  , encodePrettyToTextBuilder'
  )
import Data.Aeson.QQ.Simple as Export
import Deriving.Aeson as Export