You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
to_dict() method chokes on standard json.dumps() kwargs #490
Hi @droneshire
Thanks for reporting the issue. Sorry it took me a while to look at it.
I don't think Orjson is designed to have exactly the same interface as Python's built-in Json library. It seems the solution is to let the user still use the standard json library if they have to use parameters such as sort_keys.
Activity
droneshire commentedon Sep 24, 2024
My hack workaround in meantime:
seperman commentedon Dec 15, 2024
Hi @droneshire
Thanks for reporting the issue. Sorry it took me a while to look at it.
I don't think Orjson is designed to have exactly the same interface as Python's built-in Json library. It seems the solution is to let the user still use the standard json library if they have to use parameters such as sort_keys.
seperman commentedon Dec 15, 2024
I'm adding a
force_use_builtin_jsonflag.fixes to_json() method chokes on some standard json.dumps() such as