Created
September 7, 2022 12:50
-
-
Save DJWOMS/d1636cdf99f0c7f4495f6c0a26c0c56d to your computer and use it in GitHub Desktop.
Revisions
-
DJWOMS created this gist
Sep 7, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ import io from rest_framework.parsers import JSONParser stream = io.BytesIO(json) data = JSONParser().parse(stream)