I'm looking at the code of "Akka and Spray" tutorial in Typesafe's Activator, written by eigengo. I do not get where jsonFormat1, jsonFormat2, ... jsonFormatN is defined and how it does what it does.
implicit val sendMessageFormat = jsonFormat2(SendMessage)
The above snippet is in scala > api > MessengerService.scala
Thank you.