Deprecated API
Contents
-
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.Builder
insteadorg.bson.json.JsonWriterSettings(JsonMode) Use theJsonWriterSettings.Builder
insteadorg.bson.json.JsonWriterSettings(JsonMode, boolean) Use theJsonWriterSettings.Builder
insteadorg.bson.json.JsonWriterSettings(JsonMode, String) Use theJsonWriterSettings.Builder
insteadorg.bson.json.JsonWriterSettings(JsonMode, String, String) Use theJsonWriterSettings.Builder
insteadorg.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.