Last active
December 29, 2017 22:51
-
-
Save knil-sama/f088088cd111b4726e9d4bad7420de3c to your computer and use it in GitHub Desktop.
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 unjsonify(data) -> dict: | |
| """ | |
| Convert binary to json | |
| Args: | |
| data: Binary json returned by Flask | |
| Returns: | |
| str: | |
| """ | |
| return json.loads(data.decode('utf-8')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment