You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
252 B
10 lines
252 B
package com.xsn.explorer.models
|
|
|
|
import play.api.libs.json.{Json, Writes}
|
|
|
|
case class WrappedResult[+T](data: T)
|
|
|
|
object WrappedResult {
|
|
|
|
implicit def writes[T](implicit writesT: Writes[T]): Writes[WrappedResult[T]] = Json.writes[WrappedResult[T]]
|
|
}
|
|
|