aeson-typescript-0.4.2.0: test/Util/Aeson.hs
{-# LANGUAGE CPP #-}
module Util.Aeson where
#if MIN_VERSION_aeson(2,0,0)
import qualified Data.Aeson.KeyMap as KM
aesonFromList = KM.fromList
#else
import Data.HashMap.Strict as HM
aesonFromList = HM.fromList
#endif