File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
source/fundamentals/data-formats Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -295,11 +295,13 @@ package:
295
295
and/or deserialize a property.
296
296
297
297
* - ``BsonProperty``
298
- - Specifies a custom document field name when converting the POJO
299
- field to BSON. You can include a discriminator to serialize POJOs
300
- nested within the field. When applying ``@BsonProperty`` to a private field,
301
- **you must also add getter and setter methods for that field to serialize and
302
- customize the field name**.
298
+ - | Specifies a custom document field name when converting the POJO
299
+ field to BSON. You can include a discriminator to serialize POJOs
300
+ nested within the field.
301
+ |
302
+ | When applying ``@BsonProperty`` to a private field,
303
+ **you must also add getter and setter methods for that field to serialize and
304
+ customize the field name**.
303
305
304
306
305
307
* - ``BsonExtraElements``
@@ -310,7 +312,7 @@ package:
310
312
- `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
311
313
- ``Map<String, Object>``
312
314
|
313
- | See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
315
+ | See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`.
314
316
315
317
The following code snippet shows a sample POJO called ``Product`` that uses
316
318
several of the preceding annotations.
You can’t perform that action at this time.
0 commit comments