File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -267,8 +267,8 @@ settings to modify the driver's behavior:
267267 | If you want to enable the processing of TXT records associated with the host,
268268 specify the SRV host in the connection string
269269 using the ``applyConnectionString()`` method.
270- |
271- | For example:
270+ |
271+ | For example:
272272
273273 .. code-block:: java
274274 :emphasize-lines: 3
Original file line number Diff line number Diff line change @@ -298,20 +298,22 @@ package:
298298 - Specifies a custom document field name when converting the POJO
299299 field to BSON. You can include a discriminator to serialize POJOs
300300 nested within the field.
301- |
302- | When applying ``@BsonProperty`` to a private field,
301+
302+ |
303+ | When applying ``@BsonProperty`` to a private field,
303304 **you must also add getter and setter methods for that field to serialize and
304305 customize the field name**.
305306
307+
306308 * - ``BsonExtraElements``
307309 - Specifies the POJO field on which to deserialize all elements that are
308310 not mapped to a field. The POJO field must be one of the following
309311 types:
310312
311313 - `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__
312314 - `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
313- - ``Map<String, Object>``
314-
315+ - ``Map<String, Object>``
316+
315317 | See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
316318
317319The following code snippet shows a sample POJO called ``Product`` that uses
You can’t perform that action at this time.
0 commit comments