-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | read, parse json config -- -- read, parse json config to a Haskell type @package conf-json @version 1.1 -- | reads config or any valid json file and parses it to a Haskell type -- -- arg: full or relative (to current directory) path to the json file -- --
-- import Data.Aeson
-- import GHC.Generics
--
-- data TestProp = TestProp {
-- prop::Int
-- } deriving (Generic,Eq,Show)
--
-- instance FromJSON TestProp
--
module Data.Conf.Json
readParse :: FromJSON conf => FilePath -> IO (Either String conf)