def location_json(self, obj): return admins.json_format_html(obj.location)
def result_json(self, obj): return admins.json_format_html(obj.result)
def ua_info_json(self, obj): ua_info = getattr(obj, 'ua_info', {}) return json_format_html(ua_info)
def params_json(self, obj): params = getattr(obj, 'params', {}) return admins.json_format_html(params)
def openids_json(self, obj): context = getattr(obj, 'openids', {}) return admins.json_format_html(context)
def data_json(self, obj): return admins.json_format_html(self.session_data(obj))
def context_json(self, obj): context = getattr(obj, 'context', {}) return admins.json_format_html(context)
def msg_body_json(self, obj): return admins.json_format_html(obj.msg_body)
def attrs_json(self, obj): return admins.json_format_html(obj.attrs)
def last_msg_json(self, obj): extra = getattr(obj, 'last_msg', {}) return admins.json_format_html(extra)
def record_json(self, obj): record = getattr(obj, 'record', {}) return json_format_html(record)