This commit is contained in:
nlohmann
2026-10-27 12:14:00 +00:00
parent b36f8a9821
commit 11a863958e
1180 changed files with 14211 additions and 6025 deletions
File diff suppressed because one or more lines are too long
+3 -2
View File
@@ -95,7 +95,7 @@ The cost is negligible for the object sizes typically found in configuration fil
| 8000 | 1.6 ms | 67.8 ms | 43× |
| 16 000 | 3.3 ms | 181.6 ms | 54× |
If key order matters for objects of that size, consider a container with a lookup index, such as [`nlohmann::fifo_map`](https://github.com/nlohmann/fifo_map) ([integration](https://github.com/nlohmann/json/issues/485#issuecomment-333652309)), as the object type -- see [object order](https://json.nlohmann.me/features/object_order/index.md).
If key order matters for objects of that size, consider a container with a lookup index, such as [`nlohmann::fifo_map`](https://github.com/nlohmann/fifo_map) ([integration](https://github.com/nlohmann/json/issues/485#issuecomment-333652309)), as the object type — see [object order](https://json.nlohmann.me/features/object_order/index.md).
## Examples
@@ -160,7 +160,8 @@ m_std = { one:eins three:drei two:zwei }
## See also
- [ordered_json](https://json.nlohmann.me/api/ordered_json/index.md)
- [`ordered_json`](https://json.nlohmann.me/api/ordered_json/index.md) - JSON specialization preserving insertion order
- [Object Order](https://json.nlohmann.me/features/object_order/index.md) - the article on object key order
## Version history