Deprecated API
Contents
-
Deprecated Interfaces Interface Description org.bson.Transformer there is no direct replacement for this class, but you can achieve the same effect more flexibly using aCodecRegistry.
-
Deprecated Classes Class Description org.bson.io.Bits there is no replacement for this utility classorg.bson.BSON there is no replacement for this classorg.bson.util.ClassMap there is no replacement for this class
-
Deprecated Constructors Constructor Description org.bson.json.JsonWriter.Context(JsonWriter.Context, BsonContextType, String) org.bson.json.JsonWriterSettings() PreferJsonWriterSettings.builder(), but note that the default output mode is different for that methodorg.bson.json.JsonWriterSettings(boolean) Use theJsonWriterSettings.Builderinsteadorg.bson.json.JsonWriterSettings(JsonMode) Use theJsonWriterSettings.Builderinsteadorg.bson.json.JsonWriterSettings(JsonMode, boolean) Use theJsonWriterSettings.Builderinsteadorg.bson.json.JsonWriterSettings(JsonMode, String) Use theJsonWriterSettings.Builderinsteadorg.bson.json.JsonWriterSettings(JsonMode, String, String) Use theJsonWriterSettings.Builderinsteadorg.bson.types.ObjectId(int, int, short, int) UseObjectId(int, int)insteadorg.bson.types.ObjectId(Date, int, short, int) UseObjectId(Date, int)instead
-
Deprecated Enum Constants Enum Constant Description org.bson.json.JsonMode.STRICT The format generated with this mode is no longer considered standard for MongoDB tools. This value is not currently scheduled for removal.