Parcourir la source

Removed key sorting from json generation in json_export

Vsevolod Levitan il y a 1 an
Parent
commit
08c4abb4a0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/export/strategies/json_export.py

+ 1 - 1
src/export/strategies/json_export.py

@@ -25,7 +25,7 @@ class json_export(export):
 
         data = converter_factory.create(model).convert(model)
 
-        return json.dumps(data, sort_keys=True, indent=4)
+        return json.dumps(data, indent=4)
 
     def postprocess(self, text):
         """Пост-обработка текста перед экспортом (по надобности)"""