|
1 | | -//! Deserializing [MongoDB Extended JSON v2](https://docs.mongodb.com/manual/reference/mongodb-extended-json/) |
| 1 | +//! Deserializing [MongoDB Extended JSON v2](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/) |
2 | 2 | //! |
3 | 3 | //! ## Usage |
4 | 4 | //! |
@@ -29,7 +29,7 @@ use crate::{extjson::models, oid, Bson, Document}; |
29 | 29 |
|
30 | 30 | #[derive(Clone, Debug)] |
31 | 31 | #[non_exhaustive] |
32 | | -/// Error cases that can occur during deserialization from [extended JSON](https://docs.mongodb.com/manual/reference/mongodb-extended-json/). |
| 32 | +/// Error cases that can occur during deserialization from [extended JSON](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/). |
33 | 33 | pub enum Error { |
34 | 34 | /// Errors that can occur during OID construction and generation from the input data. |
35 | 35 | InvalidObjectId(oid::Error), |
@@ -77,7 +77,7 @@ impl From<oid::Error> for Error { |
77 | 77 |
|
78 | 78 | pub type Result<T> = std::result::Result<T, Error>; |
79 | 79 |
|
80 | | -/// This converts from the input JSON object as if it were [MongoDB Extended JSON v2](https://docs.mongodb.com/manual/reference/mongodb-extended-json/). |
| 80 | +/// This converts from the input JSON object as if it were [MongoDB Extended JSON v2](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/). |
81 | 81 | impl TryFrom<serde_json::Map<String, serde_json::Value>> for Bson { |
82 | 82 | type Error = Error; |
83 | 83 |
|
@@ -172,7 +172,7 @@ impl TryFrom<serde_json::Map<String, serde_json::Value>> for Bson { |
172 | 172 | } |
173 | 173 | } |
174 | 174 |
|
175 | | -/// This converts from the input JSON as if it were [MongoDB Extended JSON v2](https://docs.mongodb.com/manual/reference/mongodb-extended-json/). |
| 175 | +/// This converts from the input JSON as if it were [MongoDB Extended JSON v2](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/). |
176 | 176 | impl TryFrom<serde_json::Value> for Bson { |
177 | 177 | type Error = Error; |
178 | 178 |
|
@@ -207,7 +207,7 @@ impl TryFrom<serde_json::Value> for Bson { |
207 | 207 | } |
208 | 208 | } |
209 | 209 |
|
210 | | -/// This converts from the input JSON as if it were [MongoDB Extended JSON v2](https://docs.mongodb.com/manual/reference/mongodb-extended-json/). |
| 210 | +/// This converts from the input JSON as if it were [MongoDB Extended JSON v2](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/). |
211 | 211 | impl TryFrom<serde_json::Map<String, serde_json::Value>> for Document { |
212 | 212 | type Error = Error; |
213 | 213 |
|
|
0 commit comments