diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-04-28 10:16:06 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-04-28 10:16:06 +0300 |
commit | 5618374d41edc7fb1f8eaf5bf59c1ded97cbee8d (patch) | |
tree | c9327d48f87b3407ac91151b51e20c1fa913d68b | |
parent | 16edeebc7da80cb789e50100f7e4ec3d07cce27b (diff) | |
download | sproxy2-5618374d41edc7fb1f8eaf5bf59c1ded97cbee8d.tar.gz |
Stick to Data.Aeson
-rw-r--r-- | src/Sproxy/Server/DB/DataFile.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Sproxy/Server/DB/DataFile.hs b/src/Sproxy/Server/DB/DataFile.hs index 5708c96..850e283 100644 --- a/src/Sproxy/Server/DB/DataFile.hs +++ b/src/Sproxy/Server/DB/DataFile.hs @@ -8,9 +8,8 @@ module Sproxy.Server.DB.DataFile ) where import Control.Applicative (empty) -import Data.Aeson (FromJSON, parseJSON) +import Data.Aeson (FromJSON, Value(Object), (.:), parseJSON) import Data.Text (Text) -import Data.Yaml (Value(Object), (.:)) data DataFile = DataFile { groupMember :: [GroupMember] |