{-# OPTIONS_GHC -fno-warn-orphans #-}

module Data.Aeson.Types.Instances
  (
  ) where

import ClassyPrelude

import Data.Aeson.Types (Parser, Value)
import Control.Monad.Catch

import Model.Types.TH.JSON (derivePersistFieldJSON)

import Control.Monad.Fail


instance MonadThrow Parser where
  throwM = fail . show


derivePersistFieldJSON ''Value
