conf-json-1.2: read, parse json config

Safe HaskellNone
LanguageHaskell2010

Data.Conf.Json

Description

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            

Documentation