Skip to content

Commit 0a29042

Browse files
committed
Pass the sort_keys arg back
1 parent 023d971 commit 0a29042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure/functions/_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def dumps(v, **kwargs):
4141
del kwargs['sort_keys']
4242
sort_keys = True
4343
if kwargs: # Unsupported arguments
44-
return json.dumps(v, **kwargs)
44+
return json.dumps(v, sort_keys=sort_keys, **kwargs)
4545
if sort_keys:
4646
r = orjson.dumps(v, option=orjson.OPT_SORT_KEYS)
4747
else:

0 commit comments

Comments
 (0)