KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I hava a Reads[T] . I would like to parse a Json object which is expected to be an array of T 's. Is there a simple way to obtain a Reads[Seq[T]] without defining my Reads[T] as implicit? Essentially, I am looking for a function that takes Reads[T] and returns Reads[Seq[T]] . I came across Reads.TraversableReads , and thought that I can pass the implicit reader it needs explicitly, but this function also wants a CanBuildForm[...] , which does not sound like fun.
Tags (comma-separated)
Save Edits
Cancel