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

version» Context lines:

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