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.
13 lines
258 B
JSON
13 lines
258 B
JSON
{
|
|
"description": "Null type",
|
|
"bson_type": "0x0A",
|
|
"test_key": "a",
|
|
"valid": [
|
|
{
|
|
"description": "Null",
|
|
"canonical_bson": "080000000A610000",
|
|
"canonical_extjson": "{\"a\" : null}"
|
|
}
|
|
]
|
|
}
|