def dumps(self, data, **kwargs):
        kwargs.setdefault('cls', self.JSON_ENCODER)
        return json.dumps(data, **kwargs)
How to parse content that matches our content types list.
dataset/ETHPy150Open funkybob/django-nap/nap/utils/__init__.py/JsonMixin.dumps