-
Type: New Feature
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.0.1
-
Component/s: None
-
None
-
Fully Compatible
It would be useful to get the BSON response from the server as a JSON string without creating the Python objects first.
Our web servers return information to the browser as JSON and in some cases we just return the data we get from the query without any manipulation, which means we are creating a Python representation of the data that we do not really need. Converting the answer from BSON directly to JSON will avoid the transient Python objects and traversing the objects twice.
- depends on
-
PYTHON-527 Use libbson for BSON operations in C extensions
- Closed