Skip to content

Instantly share code, notes, and snippets.

@itkr
Created August 17, 2020 08:59
Show Gist options
  • Save itkr/c05c5ac61d87982a10ea12f9e6f220c9 to your computer and use it in GitHub Desktop.
Save itkr/c05c5ac61d87982a10ea12f9e6f220c9 to your computer and use it in GitHub Desktop.
import json
dictionary = {}
json.dumps(dictionary, indent=2, separators=(',', ': '), sort_keys=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment