JSON Serializer in BSON format as defined by http://bsonspec.org/spec.html.
This is not fully compatible with BSON spec, where the root must be a document/JsObject.
In contrast, the root can be any JsValue in our implementation. Correspondingly, the
root will always has the type byte as the first byte.
Not Multi-threading safe. Each thread should have its own BsonSerializer instance.
Data size limit to 10MB by default.
Although JsTime/JsDateTime can be represented to nanosecond precision, we don't
store the nano-of-second field to save the space. To preserve the high
precision of time, JsTimestamp should be employed and of course consumes more space.
Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
JsonSerializer
LazyLogging
AnyRef
Any
Implicitly
by any2stringadd
by StringFormat
by Ensuring
by ArrowAssoc
Hide All
Show All
Visibility
Public
All
Instance Constructors
newJsonSerializer(buffer: ByteBuffer = ...)
Value Members
final def!=(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final def##(): Int
Definition Classes
AnyRef → Any
def+(other: String): String
Implicit information
This member is added by an implicit conversion from JsonSerializer to
any2stringadd[JsonSerializer] performed by method any2stringadd in scala.Predef.
JSON Serializer in BSON format as defined by http://bsonspec.org/spec.html. This is not fully compatible with BSON spec, where the root must be a document/JsObject. In contrast, the root can be any JsValue in our implementation. Correspondingly, the root will always has the type byte as the first byte.
Not Multi-threading safe. Each thread should have its own BsonSerializer instance. Data size limit to 10MB by default.
Although JsTime/JsDateTime can be represented to nanosecond precision, we don't store the nano-of-second field to save the space. To preserve the high precision of time, JsTimestamp should be employed and of course consumes more space.