I am quite new to Play 2 and am trying Iteratees.
Q1. How can I get an Enumerator[Person] from List[Person]?
Q2. When I try to pass an Enumerator(Option[String]) to Ok.stream I get an error on console stating that
Cannot write an instance of Option[String] to HTTP response. Try to define a Writeable[Option[String]]
Can someone point me in the right direction as to how I can define a Writeable for custom types to HTTP response?
Thanks.