Circe
Given that MongoDB stores data records as BSON documents, which bear a lot of similarities to a traditional JSON objects, Circe (and other JSON libraries) can be used for deriving codecs for converting Scala case class into documents.
Given that MongoDB stores data records as BSON documents, which bear a lot of similarities to a traditional JSON objects, Circe (and other JSON libraries) can be used for deriving codecs for converting Scala case class into documents.