{-# LANGUAGE DeriveGeneric #-}

module Model.Json.Message
  ( Message(..)
  ) where

import Data.Aeson
import Data.Text (Text)
import GHC.Generics

data Message = Message
  { message :: Text
  } deriving (Show, Generic)

instance FromJSON Message
instance ToJSON Message