Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ dumps
Method
dumps
django/core/signing.py:137–138 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
135
""
"
136
137
def
dumps(self, obj):
138
return
json.dumps(obj, separators=(
","
,
":"
)).encode(
"latin-1"
)
139
140
def
loads(self, data):
141
return
json.loads(data.decode(
"latin-1"
))
Callers
15
json_script
Function · 0.45
__init__
Method · 0.45
sign_object
Method · 0.45
_encode_json
Method · 0.45
_confirm_picklable
Method · 0.45
is_pickable
Function · 0.45
render_to_response
Method · 0.45
as_json
Method · 0.45
prepare_value
Method · 0.45
has_changed
Method · 0.45
adapt_json_value
Method · 0.45
compile_json_path
Method · 0.45
Calls
1
encode
Method · 0.45
Tested by
15
is_pickable
Function · 0.36
patch_urlopen
Function · 0.36
test_serializer_dumps
Method · 0.36
test_picklable
Method · 0.36
test_pickle_errors_detection
Method · 0.36
test_popup_template_escaping
Method · 0.36
test_pickling
Method · 0.36
test_tickets_7204_7506
Method · 0.36
test_ticket7813
Method · 0.36
test_deferred_load_qs_pickling
Method · 0.36
test_ticket7791
Method · 0.36
test_evaluated_queryset_as_argument
Method · 0.36