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

Function jsonize

lib/core/convert.py:121–129  ·  view source on GitHub ↗

Returns JSON serialized data >>> jsonize({'foo':'bar'}) '{\\n "foo": "bar"\\n}'

(data)

Source from the content-addressed store, hash-verified

119 raise NotImplementedError
120
121def jsonize(data):
122 """
123 Returns JSON serialized data
124
125 >>> jsonize({'foo':'bar'})
126 '{\\n "foo": "bar"\\n}'
127 """
128
129 return json.dumps(data, sort_keys=False, indent=4)
130
131def dejsonize(data):
132 """

Callers 15

writeMethod · 0.90
task_newFunction · 0.90
task_deleteFunction · 0.90
task_listFunction · 0.90
task_flushFunction · 0.90
option_listFunction · 0.90
option_getFunction · 0.90
option_setFunction · 0.90
scan_startFunction · 0.90
scan_stopFunction · 0.90
scan_killFunction · 0.90
scan_statusFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…