Skip to content

Instantly share code, notes, and snippets.

@DJWOMS
Created September 7, 2022 12:50
Show Gist options
  • Save DJWOMS/d1636cdf99f0c7f4495f6c0a26c0c56d to your computer and use it in GitHub Desktop.
Save DJWOMS/d1636cdf99f0c7f4495f6c0a26c0c56d to your computer and use it in GitHub Desktop.
import io
from rest_framework.parsers import JSONParser
stream = io.BytesIO(json)
data = JSONParser().parse(stream)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment