Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/w/h/whiff-1.1/whiff/middleware/treeToDictionary.py   whiff(Download)
        else:
            # return dict as encoded as json
            return self.deliver_json(outDict, env, start_response)
    def translate(self, inDict, outDict=None, parentName=None):
        if outDict is None:

src/w/h/whiff-1.1/whiff/middleware/getResource.py   whiff(Download)
        resource_value = gateway.getResource(env, resourcePathList)
        if as_json or type(resource_value) in whiffenv.JSON_TYPES:
            return self.deliver_json(resource_value, env, start_response)
        else:
            return self.deliver_page(resource_value, env, start_response)