mongo-python-driver/test/bson_corpus/undefined.json
Shane Harvey 054a01aaff PYTHON-1297 Implement Extended JSON Spec 2.0
Add JSONOptions.json_mode to control encoding Relaxed and Canonical
Extended JSON.
Add json_util.LEGACY_JSON_OPTIONS to encode PyMongo 3.4's default JSON output.
Deprecate json_util.STRICT_JSON_OPTIONS.
Move Decimal128 spec tests to bson_corpus runner.
2017-08-03 10:30:24 -07:00

16 lines
425 B
JSON

{
"description": "Undefined type (deprecated)",
"bson_type": "0x06",
"deprecated": true,
"test_key": "a",
"valid": [
{
"description": "Undefined",
"canonical_bson": "0800000006610000",
"canonical_extjson": "{\"a\" : {\"$undefined\" : true}}",
"converted_bson": "080000000A610000",
"converted_extjson": "{\"a\" : null}"
}
]
}