summaryrefslogtreecommitdiffhomepage
path: root/Val.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Val.hs')
-rw-r--r--Val.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Val.hs b/Val.hs
index 3493bcd..d307dde 100644
--- a/Val.hs
+++ b/Val.hs
@@ -3,7 +3,7 @@
module Val where
import Memory
-import Serialization
+import JSON
import GHC.Generics (Generic)
import Data.Aeson.Types
@@ -19,8 +19,6 @@ newtype Val = Val { val :: B.ByteString }
instance DataSize Val where
dataSize (Val b) = fromIntegral (B.length b)
-instance Binary Val
-
-- | JSON instances for Val, using base64 encoding when the value
-- is not utf-8 encoded, and otherwise using a more efficient encoding.
instance ToJSON Val where