def _objectify(self, json_data=None, data={}):
if json_data:<EOL><INDENT>try:<EOL><INDENT>data = json.loads(json_data)<EOL><DEDENT>except ValueError:<EOL><INDENT>raise RedmineError(json_data)<EOL><DEDENT><DEDENT>try:<EOL><INDENT>data = data[self._item_type]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>return self._redmine.check_cache(self._item_type, data, self._object)<EOL>
Return an object derived from the given json data.