pike.git / lib / modules / Standards.pmod / BSON.pmod / tests / boolean.json

version» Context lines:

pike.git/lib/modules/Standards.pmod/BSON.pmod/tests/boolean.json:1: -  + { +  "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" +  } +  ] + }   Newline at end of file added.