Monthly Archives: February 2018

Play Json with Scala Trait

To be able to use trait with Play Json; you need to provide un/apply methods for the trait; and define a case class that could be instantiated. (there might be a better approach)   import play.api.libs.json.Json trait PaginatedTrait { def … Continue reading

Posted in Uncategorized | Leave a comment