1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
{ 
    "description": "Int64 type", 
    "bson_type": "0x12", 
    "test_key": "a", 
    "valid": [ 
        { 
            "description": "MinValue", 
            "canonical_bson": "10000000126100000000000000008000", 
            "canonical_extjson": "{\"a\" : {\"$numberLong\" : \"-9223372036854775808\"}}", 
            "relaxed_extjson": "{\"a\" : -9223372036854775808}" 
        }, 
        { 
            "description": "MaxValue", 
            "canonical_bson": "10000000126100FFFFFFFFFFFFFF7F00", 
            "canonical_extjson": "{\"a\" : {\"$numberLong\" : \"9223372036854775807\"}}", 
            "relaxed_extjson": "{\"a\" : 9223372036854775807}" 
        }, 
        { 
            "description": "-1", 
            "canonical_bson": "10000000126100FFFFFFFFFFFFFFFF00", 
            "canonical_extjson": "{\"a\" : {\"$numberLong\" : \"-1\"}}", 
            "relaxed_extjson": "{\"a\" : -1}" 
        }, 
        { 
            "description": "0", 
            "canonical_bson": "10000000126100000000000000000000", 
            "canonical_extjson": "{\"a\" : {\"$numberLong\" : \"0\"}}", 
            "relaxed_extjson": "{\"a\" : 0}" 
        }, 
        { 
            "description": "1", 
            "canonical_bson": "10000000126100010000000000000000", 
            "canonical_extjson": "{\"a\" : {\"$numberLong\" : \"1\"}}", 
            "relaxed_extjson": "{\"a\" : 1}" 
        } 
    ], 
    "decodeErrors": [ 
        { 
            "description": "int64 field truncated", 
            "bson": "0C0000001261001234567800" 
        } 
    ] 
}