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
275 B
JSON
13 lines
275 B
JSON
{
|
|
"description": "Minkey type",
|
|
"bson_type": "0xFF",
|
|
"test_key": "a",
|
|
"valid": [
|
|
{
|
|
"description": "Minkey",
|
|
"canonical_bson": "08000000FF610000",
|
|
"canonical_extjson": "{\"a\" : {\"$minKey\" : 1}}"
|
|
}
|
|
]
|
|
}
|