From fdeb641fde5f82c3ad617c5c801ab40955fe62af Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Mar 2026 22:09:58 +0100 Subject: blessings: 2 -> 3 --- src/Data/WText/Aeson.hs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/Data/WText/Aeson.hs (limited to 'src/Data') 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 -- cgit v1.2.3