WithOptions

final class WithOptions[Opts <: MacroOptions](val config: Aux[Opts])

Macros for generating BSONReader and BSONWriter at compile time, with given options.

class Object
trait Matchable
class Any

Value members

Constructors

def this()

Concrete methods

inline def handler[A]: BSONDocumentHandler[A]

Creates a BSONDocumentHandler for type A.

Creates a BSONDocumentHandler for type A.

Type parameters:
A

the type of the value represented as BSON

inline def reader[A]: BSONDocumentReader[A]

Creates a BSONDocumentReader for type A.

Creates a BSONDocumentReader for type A.

Type parameters:
A

the type of the value represented as BSON

inline def writer[A]: BSONDocumentWriter[A]

Creates a BSONDocumentWriter for type A.

Creates a BSONDocumentWriter for type A.

Type parameters:
A

the type of the value represented as BSON

Concrete fields

val config: Aux[Opts]