Skip to content

Commit 9555489

Browse files
committed
small fixes
1 parent e0b1e01 commit 9555489

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/fundamentals/data-formats/serialization.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ After you add the library dependency, you can implement serializers from
354354
the ``kotlinx-datetime`` library that map your data class field values
355355
to the expected types in BSON.
356356

357-
In the following example, the driver serializes the fields of
357+
In this example, the driver serializes the fields of
358358
the ``Appointment`` data class with the following behavior:
359359

360360
- ``name``: The driver serializes the value as a string.
@@ -371,13 +371,13 @@ the ``Appointment`` data class with the following behavior:
371371
:language: kotlin
372372

373373
The following example inserts an instance of the ``Appointment`` data
374-
class into MongoDB:
374+
class into the ``appointments`` collection:
375375

376376
.. literalinclude:: /examples/generated/KotlinXSerializationTest.snippet.datetime-insertone.kt
377377
:language: kotlin
378378

379379
In MongoDB, the ``LocalDate`` value is stored as a BSON date, and the
380-
``time`` field is stored as a string by default serialization:
380+
``time`` field is stored as a string by default serialization:
381381

382382
.. code-block:: json
383383

0 commit comments

Comments
 (0)