File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/fundamentals/data-formats Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,15 +279,15 @@ package:
279279 * - ``BsonCreator``
280280 - Marks a public constructor or a public static method as the creator for
281281 new instances of the class. You must annotate all parameters in the
282- constructor with ``BsonProperty`` with values that you defined in
283- the corresponding field declarations.
282+ constructor with either the ``BsonProperty`` or ``BsonId`` annotations.
284283
285284 * - ``BsonDiscriminator``
286285 - Specifies that a class uses a discriminator. You can set a custom
287286 discriminator key and value.
288287
289288 * - ``BsonRepresentation``
290- - Specify a BSON type to store when different from the POJO property.
289+ - Specifies the BSON type used to store the value when different from the
290+ POJO property.
291291
292292 * - ``BsonId``
293293 - Marks a property to serialize as the _id property.
You can’t perform that action at this time.
0 commit comments