Skip to content

Commit 697f184

Browse files
committed
tweaks based on internal review feedback - indentation issues
1 parent 4262df6 commit 697f184

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

source/fundamentals/data-formats/pojo-customization.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff 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

315317
The following code snippet shows a sample POJO called ``Product`` that uses
316318
several of the preceding annotations.

0 commit comments

Comments
 (0)