No instance of play.api.libs.json.Format is available for scala.Option[reactivemongo.bson.BSONObjectID]
maelfosso opened this issue · 2 comments
maelfosso commented
Hi,
I'm a newbie in PlayFramework
I got this error
No instance of play.api.libs.json.Format is available for scala.Option[reactivemongo.bson.BSONObjectID] in the implicit scope (Hint: if declared in the same file, make sure it's declared before)
How to solve it please ?
ricsirigu commented
Try with import reactivemongo.play.json.BSONFormats