MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / setup

Method setup

thirdparty/bottle/bottle.py:2379–2389  ·  view source on GitHub ↗
(self, app)

Source from the content-addressed store, hash-verified

2377 self.json_dumps = json_dumps
2378
2379 def setup(self, app):
2380 app.config._define('json.enable', default=True, validate=bool,
2381 help="Enable or disable automatic dict->json filter.")
2382 app.config._define('json.ascii', default=False, validate=bool,
2383 help="Use only 7-bit ASCII characters in output.")
2384 app.config._define('json.indent', default=True, validate=bool,
2385 help="Add whitespace to make json more readable.")
2386 app.config._define('json.dump_func', default=None,
2387 help="If defined, use this function to transform"
2388 " dict into json. The other options no longer"
2389 " apply.")
2390
2391 def apply(self, callback, route):
2392 dumps = self.json_dumps

Callers 1

installMethod · 0.45

Calls 1

_defineMethod · 0.80

Tested by

no test coverage detected