Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simplejson/simplejson
/ functions
Functions
472 in github.com/simplejson/simplejson
⨍
Functions
472
◇
Types & classes
87
Method
test_lists
(self)
simplejson/tests/test_bitsize_int_as_string.py:42
Method
test_loads_no_leak
(self)
simplejson/tests/test_speedups.py:201
Method
test_make_encoder
(self)
simplejson/tests/test_speedups.py:34
Method
test_make_scanner
(self)
simplejson/tests/test_speedups.py:19
Method
test_misbehaving_bytes_subtype
(self)
simplejson/tests/test_dump.py:170
Method
test_misbehaving_text_subtype
(self)
simplejson/tests/test_dump.py:154
Method
test_mixed_value_types
All JSON value types as dict values.
simplejson/tests/test_dump.py:373
Method
test_multiple_subinterpreters
Verify multiple subinterpreters can use simplejson concurrently.
simplejson/tests/test_subinterpreters.py:66
Method
test_namedtuple_dump
(self)
simplejson/tests/test_namedtuple.py:64
Method
test_namedtuple_dump_false
(self)
simplejson/tests/test_namedtuple.py:85
Method
test_namedtuple_dumps
(self)
simplejson/tests/test_namedtuple.py:42
Method
test_namedtuple_dumps_false
(self)
simplejson/tests/test_namedtuple.py:55
Method
test_nested_dicts
Nested dicts exercise recursive encoding within the dict loop.
simplejson/tests/test_dump.py:366
Method
test_nested_lists
(self)
simplejson/tests/test_dump.py:446
Method
test_non_ascii_basic_encode
(self)
simplejson/tests/test_encode_for_html.py:18
Method
test_non_string_dict_keys_no_leak
Dict keys that aren't already strings go through encoder_stringify_key and the non-cached branch of the key_memo logic. Both paths mus
simplejson/tests/test_speedups.py:280
Method
test_non_string_keys_fast_path
Fast path with non-string keys that get stringified.
simplejson/tests/test_dump.py:331
Method
test_non_string_keys_sorted
Slow path with non-string keys + sort_keys.
simplejson/tests/test_dump.py:339
Method
test_nonascii_digits_rejected
(self)
simplejson/tests/test_decode.py:168
Method
test_normal_str
(self)
simplejson/tests/test_raw_json.py:26
Method
test_not_serializable
(self)
simplejson/tests/test_errors.py:20
Method
test_object_pairs_hook
(self)
simplejson/tests/test_decode.py:44
Method
test_object_pairs_hook_with_unicode
(self)
simplejson/tests/test_unicode.py:61
Method
test_ordered_dict
(self)
simplejson/tests/test_dump.py:92
Method
test_overflow
(self)
simplejson/tests/test_scanstring.py:145
Method
test_parse
(self)
simplejson/tests/test_pass3.py:16
Method
test_parse
(self)
simplejson/tests/test_pass1.py:67
Method
test_parse
(self)
simplejson/tests/test_pass2.py:10
Method
test_prevent_script_breakout
(self)
simplejson/tests/test_encode_for_html.py:30
Method
test_py_encode_basestring_ascii
(self)
simplejson/tests/test_encode_basestring_ascii.py:26
Method
test_py_scanstring
(self)
simplejson/tests/test_scanstring.py:17
Method
test_raises_typeerror_if_for_json_not_true_with_object
(self)
simplejson/tests/test_for_json.py:95
Method
test_raw_decode
(self)
simplejson/tests/test_decode.py:81
Method
test_raw_json_str
(self)
simplejson/tests/test_raw_json.py:29
Method
test_scan_error
(self)
simplejson/tests/test_errors.py:43
Method
test_scanner_construction_no_leak
(self)
simplejson/tests/test_speedups.py:206
Method
test_scanner_instances_work
Verify Scanner heap type instances decode correctly.
simplejson/tests/test_speedups.py:131
Method
test_scanner_is_heap_type
(self)
simplejson/tests/test_speedups.py:105
Method
test_scanner_type_is_gc_tracked
Heap types must be GC-tracked so they can be collected.
simplejson/tests/test_speedups.py:118
Method
test_separators
(self)
simplejson/tests/test_indent.py:71
Method
test_separators
(self)
simplejson/tests/test_separators.py:8
Method
test_shared_encoder_instance
A single encoder/decoder instance used by many threads.
simplejson/tests/test_free_threading.py:88
Method
test_simple_first
(self)
simplejson/tests/test_item_sort_key.py:7
Method
test_single_element
(self)
simplejson/tests/test_dump.py:443
Method
test_single_key
Single-key dict.
simplejson/tests/test_dump.py:362
Method
test_skipkeys_fast_path
Fast path: skipkeys drops unencodable keys.
simplejson/tests/test_dump.py:346
Method
test_skipkeys_fast_path_no_leak
skipkeys on the PyDict_Next fast path must not leak skipped keys.
simplejson/tests/test_speedups.py:311
Method
test_skipkeys_slow_path
Slow path: skipkeys + sort_keys drops unencodable keys.
simplejson/tests/test_dump.py:352
Method
test_sort_keys
(self)
simplejson/tests/test_dump.py:145
Method
test_sorted_dict
(self)
simplejson/tests/test_encode_basestring_ascii.py:44
Method
test_stdin_stdout
(self)
simplejson/tests/test_tool.py:64
Method
test_string_keys_error
(self)
simplejson/tests/test_errors.py:9
Method
test_stringify_key
(self)
simplejson/tests/test_dump.py:38
Method
test_stringify_key
(self)
simplejson/tests/test_decimal.py:31
Method
test_strip_bom
(self)
simplejson/tests/test_unicode.py:149
Method
test_subinterpreter_heap_types
Verify types are heap types inside subinterpreters.
simplejson/tests/test_subinterpreters.py:118
Method
test_subinterpreter_state_independent
Verify destroying one subinterpreter doesn't affect another.
simplejson/tests/test_subinterpreters.py:85
Method
test_surrogates
(self)
simplejson/tests/test_scanstring.py:172
Method
test_trailing_comma_unexpected_data
(self)
simplejson/tests/test_decode.py:152
Method
test_truncated_input
(self)
simplejson/tests/test_fail.py:138
Method
test_tuple_array_dump
(self)
simplejson/tests/test_tuple.py:23
Method
test_tuple_array_dumps
(self)
simplejson/tests/test_tuple.py:7
Method
test_tuple_fast_path_no_leak
The indexed fast path for exact tuples must not leak.
simplejson/tests/test_speedups.py:324
Method
test_tuple_subclass
Slow path: tuple subclass uses iterator.
simplejson/tests/test_dump.py:427
Method
test_unicode_decode
(self)
simplejson/tests/test_unicode.py:54
Method
test_unicode_preservation
(self)
simplejson/tests/test_unicode.py:81
Method
try_bad_encoder
()
simplejson/tests/test_speedups.py:227
Method
try_bad_scanner
()
simplejson/tests/test_speedups.py:221
Method
worker
()
simplejson/tests/test_free_threading.py:51
Function
wrapped
()
tsan_stress_simplejson.py:273
Method
wrapped
()
simplejson/tests/test_free_threading.py:27
Function
wrapper
(*args, **kwargs)
simplejson/tests/_helpers.py:12
← previous
401–472 of 472, ranked by callers