def JSONQuery(request):
    rv = {}
    for key, value in itertools.chain(request.GET.items(), request.POST.items()):
        rv[key] = simplejson.loads(value)
    return rv
Convert query term where values are JSON encoded strings.
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/framework.py/JSONQuery