override def writes()

in common/src/main/scala/models/Notification.scala [25:34]


    override def writes(o: Notification): JsValue = o match {
      case n: BreakingNewsNotification => BreakingNewsNotification.jf.writes(n)
      case n: ContentNotification => ContentNotification.jf.writes(n)
      case n: GoalAlertNotification => GoalAlertNotification.jf.writes(n)
      case n: LiveEventNotification => LiveEventNotification.jf.writes(n)
      case n: FootballMatchStatusNotification => FootballMatchStatusNotification.jf.writes(n)
      case n: NewsstandShardNotification => NewsstandShardNotification.jf.writes(n)
      case n: EditionsNotification => EditionsNotification.jf.writes(n)
      case n: Us2020ResultsNotification => Us2020ResultsNotification.jf.writes(n)
    }