@@ -35,31 +35,35 @@ MongoDB and BSON
35
35
----------------
36
36
37
37
You can use BSON data with your {+driver-short+} application by using one of the
38
- following object types that implements the `BSON interface <{+api+}/apidocs/bson/org/bson/conversions/Bson.html>`__:
38
+ following object types that implements the `BSON interface <{+java- api+}/apidocs/bson/org/bson/conversions/Bson.html>`__:
39
39
40
- - `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__ (BSON library package)
41
- - `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__ (BSON library package)
42
- - `RawBsonDocument <{+api+}/apidocs/bson/org/bson/RawBsonDocument.html>`__ (BSON library package)
43
- - `JsonObject <{+api+}/apidocs/bson/org/bson/json/JsonObject.html>`__ (BSON library package)
40
+ - `Document <{+java- api+}/apidocs/bson/org/bson/Document.html>`__ (BSON library package)
41
+ - `BsonDocument <{+java- api+}/apidocs/bson/org/bson/BsonDocument.html>`__ (BSON library package)
42
+ - `RawBsonDocument <{+java- api+}/apidocs/bson/org/bson/RawBsonDocument.html>`__ (BSON library package)
43
+ - `JsonObject <{+java- api+}/apidocs/bson/org/bson/json/JsonObject.html>`__ (BSON library package)
44
44
45
45
.. _install-bson-library:
46
46
47
47
Install the BSON Library
48
48
------------------------
49
49
50
50
These instructions detail how to add the BSON library as a dependency to
51
- your project. If you added the MongoDB Kotlin driver as a dependency to your
52
- project, you can skip this step since the BSON library is already included
53
- as a required dependency of the driver.
51
+ your project.
52
+
53
+ .. note::
54
+
55
+ If you have already added the {+driver-short+} as a dependency to your
56
+ project, then you can skip this step. This is because the BSON library is already
57
+ included as a required dependency of the driver.
54
58
55
59
.. TODO: For instructions on how to add the
56
60
.. MongoDB Kotlin driver as a dependency to your project, see the
57
61
.. :ref:`driver installation <kotlin-sync-download-install>` section of our Get Started
58
62
.. guide.
59
63
60
64
We recommend that you use the `Maven <https://maven.apache.org/>`__ or
61
- `Gradle <https://gradle.org/>`__ build automation tool to manage your project's
62
- dependencies. Select from the following tabs to see the dependency declaration
65
+ `Gradle <https://gradle.org/>`__ build automation tool to manage your {+language+}
66
+ project's dependencies. Select from the following tabs to see the dependency declaration
63
67
for that tool:
64
68
65
69
.. tabs::
@@ -80,6 +84,6 @@ for that tool:
80
84
81
85
.. include:: /includes/data-formats/bson-gradle-versioned.rst
82
86
83
- If you are not using one of the preceding tools, you can include it in
84
- your project by downloading the JAR file directly from the
87
+ If you are not using either of the preceding tools, then you can include the BSON dependency
88
+ in your project by downloading the JAR file directly from the
85
89
`sonatype repository <https://repo1.maven.org/maven2/org/mongodb/bson/>`__.
0 commit comments