summaryrefslogtreecommitdiffstats
path: root/src/Data
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-03-19 22:09:58 +0100
committertv <tv@krebsco.de>2026-03-19 22:39:41 +0100
commitfdeb641fde5f82c3ad617c5c801ab40955fe62af (patch)
tree3b741944473738fb79f4f50943b3975c20a6e9a1 /src/Data
parent131e4f0ccf655095d13b05f69acdaa1c22b9e6d4 (diff)
blessings: 2 -> 3
Diffstat (limited to 'src/Data')
-rw-r--r--src/Data/WText/Aeson.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Data/WText/Aeson.hs b/src/Data/WText/Aeson.hs
new file mode 100644
index 0000000..06aa4fb
--- /dev/null
+++ b/src/Data/WText/Aeson.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DerivingVia #-}
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+
+module Data.WText.Aeson where
+
+import Data.Aeson (FromJSON, ToJSON)
+import Data.Text (Text)
+import Data.WText (WText(WText))
+
+
+deriving via Text instance FromJSON WText
+deriving via Text instance ToJSON WText