diff options
Diffstat (limited to 'src/server/Model/Json/Conf.hs')
-rw-r--r-- | src/server/Model/Json/Conf.hs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/server/Model/Json/Conf.hs b/src/server/Model/Json/Conf.hs new file mode 100644 index 0000000..a66fb55 --- /dev/null +++ b/src/server/Model/Json/Conf.hs @@ -0,0 +1,17 @@ +{-# LANGUAGE DeriveGeneric #-} + +module Model.Json.Conf + ( Conf(..) + ) where + +import GHC.Generics + +import Data.Aeson +import Data.Text + +data Conf = Conf + { currency :: Text + } deriving (Show, Generic) + +instance FromJSON Conf +instance ToJSON Conf |