Small trick to define any
value of bson
List has own type *
BSONObject is actually a Map *
Just helper for Seq *
Set has own type *
Essentially and convertible
scala type must have implicit of BSONValue to be used in queries *
Constructor to create lists
BSON currently contains type of null
this prepresents that type *
Constructor to create objects
Constructor to create sets
We do a little of type
magic
here to get all witnesses and implicits right on supported types