@cached_property
    def json(self):
        """If the mimetype is `application/json` or `application/json-rpc`
        this will contain the parsed JSON data.  Otherwise this will be `None`.

        This requires Python 2.6 or an installed version of simplejson.
        """
        if __debug__:
            _assert_have_json()
        if self.mimetype in ['application/json', 'application/json-rpc']:
            request_charset = self.mimetype_params.get('charset')
            try:
                if request_charset is not None:
                    return json.loads(self.data, encoding=request_charset)
                return json.loads(self.data)
            except ValueError as E:
                return self.on_json_loading_failed(E)
dataset/ETHPy150Open pyjs/pyjs/examples/misc/flaskexamples/flaskcelery/flask_source/requests.py/JSONRPCRequest.json/original