{-# LANGUAGE NoImplicitPrelude #-}

-- | Utilities for dealing with Aeson version update
--
-- TODO: This is no longer necessary, and should be removed.
module Keter.Aeson.KeyHelper
  ( module KeyMap
  , toKey
  , toText
  ) where

import Data.Aeson.Key qualified as Key
import Data.Aeson.KeyMap as KeyMap hiding (map)
import Data.Text qualified as Text

toKey :: Text.Text -> Key.Key
toKey :: Text -> Key
toKey = Text -> Key
Key.fromText

toText :: Key.Key -> Text.Text
toText :: Key -> Text
toText = Key -> Text
Key.toText