@@ -32,11 +32,8 @@ The library uses the following mapping from JSON values types to BSON types:
32
32
33
33
!!! warning "Incomplete mapping"
34
34
35
- The mapping is **incomplete**, since only JSON-objects (and things
36
- contained therein) can be serialized to BSON.
37
- Also, integers larger than 9223372036854775807 cannot be serialized to BSON,
38
- and the keys may not contain U+0000, since they are serialized a
39
- zero-terminated c-strings.
35
+ The mapping is **incomplete**, since only JSON-objects (and things contained therein) can be serialized to BSON.
36
+ Also, keys may not contain U+0000, since they are serialized a zero-terminated c-strings.
40
37
41
38
??? example
42
39
@@ -82,6 +79,10 @@ The library maps BSON record types to JSON value types as follows:
82
79
83
80
The mapping is **incomplete**. The unsupported mappings are indicated in the table above.
84
81
82
+ !!! note "Handling of BSON type 0x11"
83
+
84
+ BSON type 0x11 is used to represent uint64 numbers. This library treats these values purely as uint64 numbers
85
+ and does not parse them into date-related formats.
85
86
86
87
??? example
87
88
@@ -94,8 +95,3 @@ The library maps BSON record types to JSON value types as follows:
94
95
```json
95
96
--8<-- "examples/from_bson.output"
96
97
```
97
-
98
- !!! note "Handling of BSON type 0x11"
99
-
100
- BSON type 0x11 is used to represent uint64 numbers. This library treats these values purely as uint64 numbers
101
- and does not parse them into date-related formats.
0 commit comments