Guest User

Untitled

a guest
Nov 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. package model
  2.  
  3. import myApp.context._
  4. import com.novus.salat._
  5.  
  6. case class JSONData(
  7. countries: List[JSONCountry]) {
  8. def toJSON = grater[JSONData].toJSON(this)
  9. }
  10.  
  11. case class JSONCountry(
  12. countryID: String,
  13. country: String)
Add Comment
Please, Sign In to add comment