use of org.bson.codecs.BsonJavaScriptCodec in project mongo-java-driver by mongodb.
the class CommandResultCodecProvider method addCodecs.
private void addCodecs() {
addCodec(new BsonNullCodec());
addCodec(new BsonBinaryCodec());
addCodec(new BsonBooleanCodec());
addCodec(new BsonDateTimeCodec());
addCodec(new BsonDBPointerCodec());
addCodec(new BsonDoubleCodec());
addCodec(new BsonInt32Codec());
addCodec(new BsonInt64Codec());
addCodec(new BsonDecimal128Codec());
addCodec(new BsonMinKeyCodec());
addCodec(new BsonMaxKeyCodec());
addCodec(new BsonJavaScriptCodec());
addCodec(new BsonObjectIdCodec());
addCodec(new BsonRegularExpressionCodec());
addCodec(new BsonStringCodec());
addCodec(new BsonSymbolCodec());
addCodec(new BsonTimestampCodec());
addCodec(new BsonUndefinedCodec());
addCodec(new BsonJavaScriptWithScopeCodec(new BsonDocumentCodec()));
}
Aggregations