@@ -297,24 +297,20 @@ package:
297297 * - ``BsonProperty``
298298 - Specifies a custom document field name when converting the POJO
299299 field to BSON. You can include a discriminator to serialize POJOs
300- nested within the field.
301-
302- |
303- | When applying ``@BsonProperty`` to a private field,
300+ nested within the field. When applying ``@BsonProperty`` to a private field,
304301 **you must also add getter and setter methods for that field to serialize and
305302 customize the field name**.
306303
307304
308305 * - ``BsonExtraElements``
309- - Specifies the POJO field on which to deserialize all elements that are
310- not mapped to a field. The POJO field must be one of the following
311- types:
312-
313- - `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__
314- - `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
315- - ``Map<String, Object>``
316-
317- | See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
306+ - | Specifies the POJO field on which to deserialize all elements that are
307+ not mapped to a field. The POJO field must be one of the following
308+ types:
309+ - `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__
310+ - `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
311+ - ``Map<String, Object>``
312+ |
313+ | See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
318314
319315The following code snippet shows a sample POJO called ``Product`` that uses
320316several of the preceding annotations.
0 commit comments