override def reads()

in app/com/gu/memsub/subsv2/reads/CatJsonReads.scala [51:56]


    override def reads(json: JsValue): JsResult[Status] = json match {
      case JsString("Expired") => JsSuccess(Status.legacy)
      case JsString("Active") => JsSuccess(Status.current)
      case JsString("NotStarted") => JsSuccess(Status.upcoming)
      case a => JsError(s"Unknown status $a")
    }