code: def jsonp(data, **json_kwargs):
      
      from uliweb import request
      
      if 'jsonp' in json_kwargs:
          cb = json_kwargs.pop('jsonp')
      else:
          cb = 'callback'
          
      begin = str(request.GET.get(cb))
      if not begin:
          raise BadRequest("Can't found %s parameter in request's query_string" % cb)
      if not r_callback.match(begin):
          raise BadRequest("The callback name is not right, it can be alphabetic, number and underscore only")
      
      if callable(data):
          @wraps(data)
          def f(*arg, **kwargs):
              ret = data(*arg, **kwargs)
              return Response(begin + '(' + json_dumps(ret) + ');', **json_kwargs)
          return f
      else:
          return Response(begin + '(' + json_dumps(data) + ');', **json_kwargs)
docs: jsonp is callback key name