...
1{
2 "description": "Int32 type",
3 "bson_type": "0x10",
4 "test_key": "i",
5 "valid": [
6 {
7 "description": "MinValue",
8 "canonical_bson": "0C0000001069000000008000",
9 "canonical_extjson": "{\"i\" : {\"$numberInt\": \"-2147483648\"}}",
10 "relaxed_extjson": "{\"i\" : -2147483648}"
11 },
12 {
13 "description": "MaxValue",
14 "canonical_bson": "0C000000106900FFFFFF7F00",
15 "canonical_extjson": "{\"i\" : {\"$numberInt\": \"2147483647\"}}",
16 "relaxed_extjson": "{\"i\" : 2147483647}"
17 },
18 {
19 "description": "-1",
20 "canonical_bson": "0C000000106900FFFFFFFF00",
21 "canonical_extjson": "{\"i\" : {\"$numberInt\": \"-1\"}}",
22 "relaxed_extjson": "{\"i\" : -1}"
23 },
24 {
25 "description": "0",
26 "canonical_bson": "0C0000001069000000000000",
27 "canonical_extjson": "{\"i\" : {\"$numberInt\": \"0\"}}",
28 "relaxed_extjson": "{\"i\" : 0}"
29 },
30 {
31 "description": "1",
32 "canonical_bson": "0C0000001069000100000000",
33 "canonical_extjson": "{\"i\" : {\"$numberInt\": \"1\"}}",
34 "relaxed_extjson": "{\"i\" : 1}"
35 }
36 ],
37 "decodeErrors": [
38 {
39 "description": "Bad int32 field length",
40 "bson": "090000001061000500"
41 }
42 ]
43}
View as plain text