Created
March 15, 2019 21:33
-
-
Save includeamin/50270e494e28c95d44c07aa3469e5afb to your computer and use it in GitHub Desktop.
serializer without error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def dumps(data): | |
return json.dumps(data, indent=4, sort_keys=True, default=str) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment