def parse(self, stream, media_type=None, parser_context=None):
        """
        Parses the incoming bytestream as JSON and returns the resulting data.
        """
        parser_context = parser_context or {}
        encoding = parser_context.get('encoding', settings.DEFAULT_CHARSET)

        try:
            data = stream.read().decode(encoding)
            return ujson.loads(data)
        except ValueError as exc:
            raise ParseError(six.text_type(exc) % 'JSON parse error - %s')
dataset/ETHPy150Open gizmag/drf-ujson-renderer/drf_ujson/parsers.py/UJSONParser.parse/swapped operands of `%`