def p_json(src): params = dict(request.params) return _process_result(p_json_handler(src, params))
def p_json(): data = _process_json_request() _log_entry(data) cfg.logger.debug('data: %s', data) return _process_result(p_json_handler(data))