Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- implicit val myTupleWrites = new Writes[(Int,List[FoodChildren])] {
- def writes(myTuple: (Int,List[FoodChildren])) = Json.obj(
- "i" -> myTuple._1,
- "lst" -> myTuple._2
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement