Closed hungluong5791 closed 1 month ago
It was a bug fixed in the context of #248. Do you have a case where keys loose their original order and are sorted alphabetically? Which version of the library are you using?
@zhPavel Apologies. I was using 3.0.0b1
. The key order is indeed preserved in the latest version. I'll close this now.
Thank you for taking a look.
Hi,
Current behaviours when dumping a dataclass is to produce a dict with keys sorted alphabetically.
I think this should be left as an configurable option (and preferably default to
False
) since even current Pythondict
preserve key order now.