mirror of
https://github.com/nlohmann/json.git
synced 2024-12-03 21:59:08 +08:00
Correct serialisation table
This commit is contained in:
parent
8fa46288b7
commit
5345c07083
@ -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..2147483647 | int32 | 0x10 |
|
||||||
| number_integer | 2147483648..9223372036854775807 | int64 | 0x12 |
|
| number_integer | 2147483648..9223372036854775807 | int64 | 0x12 |
|
||||||
| number_unsigned | 0..2147483647 | int32 | 0x10 |
|
| number_unsigned | 0..2147483647 | int32 | 0x10 |
|
||||||
| number_unsigned | 0..18446744073709551615 | uint64 | 0x11 |
|
| number_unsigned | 2147483648..18446744073709551615 | int64 | 0x11 |
|
||||||
| number_unsigned | 2147483648..9223372036854775807 | int64 | 0x12 |
|
|
||||||
| number_unsigned | 9223372036854775808..18446744073709551615 | -- | -- |
|
|
||||||
| number_float | *any value* | double | 0x01 |
|
| number_float | *any value* | double | 0x01 |
|
||||||
| string | *any value* | string | 0x02 |
|
| string | *any value* | string | 0x02 |
|
||||||
| array | *any value* | document | 0x04 |
|
| array | *any value* | document | 0x04 |
|
||||||
|
Loading…
Reference in New Issue
Block a user