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
  
{ 
    "description": "Boolean", 
    "bson_type": "0x08", 
    "test_key": "b", 
    "valid": [ 
        { 
            "description": "True", 
            "canonical_bson": "090000000862000100", 
            "canonical_extjson": "{\"b\" : true}" 
        }, 
        { 
            "description": "False", 
            "canonical_bson": "090000000862000000", 
            "canonical_extjson": "{\"b\" : false}" 
        } 
    ], 
    "decodeErrors": [ 
        { 
            "description": "Invalid boolean value of 2", 
            "bson": "090000000862000200" 
        }, 
        { 
            "description": "Invalid boolean value of -1", 
            "bson": "09000000086200FF00" 
        } 
    ] 
}