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

version» Context lines:

pike.git/lib/modules/Standards.pmod/BSON.pmod/tests/oid.json:1: -  + { +  "description": "ObjectId", +  "bson_type": "0x07", +  "test_key": "a", +  "valid": [ +  { +  "description": "All zeroes", +  "canonical_bson": "1400000007610000000000000000000000000000", +  "canonical_extjson": "{\"a\" : {\"$oid\" : \"000000000000000000000000\"}}" +  }, +  { +  "description": "All ones", +  "canonical_bson": "14000000076100FFFFFFFFFFFFFFFFFFFFFFFF00", +  "canonical_extjson": "{\"a\" : {\"$oid\" : \"ffffffffffffffffffffffff\"}}" +  }, +  { +  "description": "Random", +  "canonical_bson": "1400000007610056E1FC72E0C917E9C471416100", +  "canonical_extjson": "{\"a\" : {\"$oid\" : \"56e1fc72e0c917e9c4714161\"}}" +  } +  ], +  "decodeErrors": [ +  { +  "description": "OID truncated", +  "bson": "1200000007610056E1FC72E0C917E9C471" +  } +  ] + }   Newline at end of file added.