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.
16 lines
425 B
JSON
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}"
|
|
}
|
|
]
|
|
}
|