object BsonParser extends SimpleInjector
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BsonParser
- SimpleInjector
- Injector
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- abstract class Inject[T] extends StackableMaker[T] with Vendor[T]
- Definition Classes
- SimpleInjector
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def defaultStringProcessor(s: String): BsonValue
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit def inject[T](implicit man: Manifest[T]): Box[T]
- Definition Classes
- SimpleInjector → Injector
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parse(jo: JObject)(implicit formats: Formats): BsonDocument
Parse a JObject into a BsonDocument
- def registerInjection[T](f: () => T)(implicit man: Manifest[T]): Unit
- Definition Classes
- SimpleInjector
- def serialize(a: Any)(implicit formats: Formats): JValue
- val stringProcessor: Inject[(String) => BsonValue]
Set this to override BsonParser turning strings that are valid ObjectIds into actual ObjectIds.
Set this to override BsonParser turning strings that are valid ObjectIds into actual ObjectIds. For example, place the following in Boot.boot:
BsonParser.stringProcessor.default.set((s: String) => BsonString(s))
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Parser