Binary subtypes
Binary subtypes
End of document
End of document
End of string
End of string
Type markers
Type markers
string encoder/decoder
string encoder/decoder
Clears the object buffer.
Deserialize a JSON value from the given root JSONPath.
Deserialize a JSON value from the given root JSONPath.
Byte array of null.
Byte array of null.
The delimiter in the path to an embedded object or in an array.
The delimiter in the path to an embedded object or in an array. In general, we follow the dot notation as in MongoDB (even for array elements).
Serializes a JSON value into the object buffer.
The path to the root of a JsValue.
The path to the root of a JsValue.
Serializes a JSON value to a list of key/value pairs, where key is the JSONPath of element.
Serializes a JSON value to a list of key/value pairs, where key is the JSONPath of element.
Serialize a string to bytes.
Serialize a string to bytes.
Returns the json path of a dot notation path as in MongoDB.
Returns the json path of a dot notation path as in MongoDB.
Returns the byte array of json path
Returns the byte array of json path
Returns the object buffer content as a byte array.
Encoding of "undefined"
Encoding of "undefined"
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 16MB by default.
ByteBuffer must use BIG ENDIAN to ensure the correct byte string comparison for integers and floating numbers.