Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. implicit val myTupleWrites = new Writes[(Int,List[FoodChildren])] {
  2. def writes(myTuple: (Int,List[FoodChildren])) = Json.obj(
  3. "i" -> myTuple._1,
  4. "lst" -> myTuple._2
  5. )
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement