-- By default, the library does not preserve the **insertion order of object elements**. This is standards-compliant, as the [JSON standard](https://tools.ietf.org/html/rfc7159.html) defines objects as "an unordered collection of zero or more name/value pairs". If you do want to preserve the insertion order, you can specialize the object type with containers like [`tsl::ordered_map`](https://github.com./Tessil/ordered-map) or [`nlohmann::fifo_map`](https://github.com./nlohmann/fifo_map) (see [this comment](https://github.com./nlohmann/json/issues/485#issuecomment-333652309) on how to integrate).
0 commit comments