Correct serialisation table

This commit is contained in:
slowriot 2024-11-07 13:59:52 +00:00 committed by GitHub
parent 8fa46288b7
commit 5345c07083
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,9 +22,7 @@ The library uses the following mapping from JSON values types to BSON types:
| number_integer | -2147483648..2147483647 | int32 | 0x10 |
| number_integer | 2147483648..9223372036854775807 | int64 | 0x12 |
| number_unsigned | 0..2147483647 | int32 | 0x10 |
| number_unsigned | 0..18446744073709551615 | uint64 | 0x11 |
| number_unsigned | 2147483648..9223372036854775807 | int64 | 0x12 |
| number_unsigned | 9223372036854775808..18446744073709551615 | -- | -- |
| number_unsigned | 2147483648..18446744073709551615 | int64 | 0x11 |
| number_float | *any value* | double | 0x01 |
| string | *any value* | string | 0x02 |
| array | *any value* | document | 0x04 |