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

version» Context lines:

pike.git/lib/modules/Standards.pmod/BSON.pmod/tests/int32.json:1: -  + { +  "description": "Int32 type", +  "bson_type": "0x10", +  "test_key": "i", +  "valid": [ +  { +  "description": "MinValue", +  "canonical_bson": "0C0000001069000000008000", +  "canonical_extjson": "{\"i\" : {\"$numberInt\": \"-2147483648\"}}", +  "relaxed_extjson": "{\"i\" : -2147483648}" +  }, +  { +  "description": "MaxValue", +  "canonical_bson": "0C000000106900FFFFFF7F00", +  "canonical_extjson": "{\"i\" : {\"$numberInt\": \"2147483647\"}}", +  "relaxed_extjson": "{\"i\" : 2147483647}" +  }, +  { +  "description": "-1", +  "canonical_bson": "0C000000106900FFFFFFFF00", +  "canonical_extjson": "{\"i\" : {\"$numberInt\": \"-1\"}}", +  "relaxed_extjson": "{\"i\" : -1}" +  }, +  { +  "description": "0", +  "canonical_bson": "0C0000001069000000000000", +  "canonical_extjson": "{\"i\" : {\"$numberInt\": \"0\"}}", +  "relaxed_extjson": "{\"i\" : 0}" +  }, +  { +  "description": "1", +  "canonical_bson": "0C0000001069000100000000", +  "canonical_extjson": "{\"i\" : {\"$numberInt\": \"1\"}}", +  "relaxed_extjson": "{\"i\" : 1}" +  } +  ], +  "decodeErrors": [ +  { +  "description": "Bad int32 field length", +  "bson": "090000001061000500" +  } +  ] + }   Newline at end of file added.