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:
295295 and/or deserialize a property.
296296
297297 * - ``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**.
303305
304306
305307 * - ``BsonExtraElements``
@@ -310,7 +312,7 @@ package:
310312 - `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
311313 - ``Map<String, Object>``
312314 |
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>`.
314316
315317The following code snippet shows a sample POJO called ``Product`` that uses
316318several of the preceding annotations.
You can’t perform that action at this time.
0 commit comments