This commit is contained in:
nlohmann
2026-09-26 02:05:51 +00:00
parent 90bef9173a
commit 82dd0b5615
287 changed files with 749 additions and 549 deletions
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -39,7 +39,7 @@ Strong guarantee: if an exception is thrown, there are no changes in the JSON va
## Complexity
Proportional to the size of the JSON value `j` multiplied by its maximum nesting depth, `O(n × d)`. BSON length prefixes are computed recursively before nested values are written.
Linear in the size of the JSON value `j`. The length prefixes of all nested documents and arrays are computed in one pass before anything is written.
## Examples
@@ -89,3 +89,4 @@ Output:
## Version history
- Added in version 3.4.0.
- Linear in the size of `j`, and no longer limited by the call stack for deeply nested values, since version 3.13.0.