##// END OF EJS Templates
sort keys when writing json notebooks
MinRK -
Show More
@@ -48,6 +48,7 b' class JSONWriter(NotebookWriter):'
48 48 def writes(self, nb, **kwargs):
49 49 kwargs['cls'] = BytesEncoder
50 50 kwargs['indent'] = 4
51 kwargs['sort_keys'] = True
51 52 return json.dumps(nb, **kwargs)
52 53
53 54
General Comments 0
You need to be logged in to leave comments. Login now