1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-04-19 03:43:49 +02:00
ultrajson/python
Eugene Toder 381f248e03 Speedup dumps with sorted keys
Do not create a list of tuples with (converted key, value) upfront.
Instead, convert keys and fetch values during iteration.

Also, if sorting fails, preserve the original exception instead of
overwriting it with a less informative ValueError. This is the same
behavior as the standard library's json module.
2023-12-10 21:11:20 +00:00
..
JSONtoObj.c Limit loading from bytes-like to just bytes() and bytearray() on PyPy. 2022-12-20 23:35:38 +00:00
objToJSON.c Speedup dumps with sorted keys 2023-12-10 21:11:20 +00:00
ujson.c Fix encoding of infinity (#80). 2022-08-08 22:37:52 +01:00
ujson.h Raise JSONDecodeError in place of ValueError on failed decode (#498) 2022-02-05 20:39:05 +00:00
version_template.h Lint trailing-whitespace 2020-05-12 09:21:45 +03:00