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
for_json
(self)
simplejson/tests/test_for_json.py:21
Method
for_json
(self)
simplejson/tests/test_for_json.py:26
Method
for_json
(self)
simplejson/tests/test_speedups.py:269
Method
for_json
(self)
simplejson/tests/test_namedtuple.py:183
Method
freeze_dict
(d)
simplejson/tests/test_decode.py:135
Method
fromkeys
(cls, iterable, value=None)
simplejson/ordered_dict.py:90
Method
get_exc
(scanstring, s)
simplejson/tests/test_scanstring.py:235
Function
if
simplejson/_speedups.c:851
Function
init_speedups
Python 2.7: single-phase init via Py_InitModule3 */
simplejson/_speedups.c:4009
Method
initialize_options
(self)
setup.py:70
Function
iter_dumps
(obj, **kw)
simplejson/tests/test_iterable.py:6
Function
json_PyOS_string_to_double
simplejson/_speedups.c:50
Method
keys
(self)
simplejson/ordered_dict.py:69
Function
load
Deserialize ``fp`` (a ``.read()``-supporting file-like object containing a JSON document as `str` or `bytes`) to a Python object. *encoding*
simplejson/__init__.py:402
Function
module_exec
Multi-phase initialization (PEP 489) for Python 3.5+. On 3.13+ this * path creates heap types and allocates per-module state so that each * interpre
simplejson/_speedups.c:3865
Function
mutator
()
tsan_stress_simplejson.py:403
Method
noop_default
(obj)
simplejson/tests/test_iterable.py:51
Method
popitem
(self, last=True)
simplejson/ordered_dict.py:52
Function
py_encode_basestring
Return a JSON representation of a Python string
simplejson/encoder.py:53
Function
py_encode_basestring
simplejson/_speedups.c:2127
Function
py_encode_basestring_ascii
Return an ASCII-only JSON representation of a Python string
simplejson/encoder.py:80
Function
py_make_scanner
(context)
simplejson/scanner.py:21
Function
py_scanstring
Scan the string s for a JSON string. End is the index of the character in s after the quote that started the JSON string. Unescapes all valid
simplejson/decoder.py:68
Function
py_scanstring
simplejson/_speedups.c:1874
Function
reader
()
tsan_stress_simplejson.py:393
Function
replace
(match)
simplejson/encoder.py:75
Method
run
(self)
setup.py:54
Method
runTest
(self)
simplejson/tests/__init__.py:18
Function
scan_four_digit_hex
Scan a four digit hex number from s[end:end + 4]
simplejson/decoder.py:56
Function
scan_worker
()
tsan_stress_simplejson.py:456
Function
scanner_dealloc
simplejson/_speedups.c:2156
Function
scanner_new
simplejson/_speedups.c:2377
Function
scanner_traverse
simplejson/_speedups.c:2171
Function
scenario_module_functions
Concurrent scanstring + encode_basestring_ascii (module-level).
tsan_stress_simplejson.py:426
Function
scenario_mutator_vs_readers
Mutator mutates dict while readers encode it. Stresses input CS.
tsan_stress_simplejson.py:388
Function
scenario_shared_encoder_distinct_inputs
N threads share ONE encoder; distinct objects. markers/key_memo races.
tsan_stress_simplejson.py:322
Function
scenario_shared_encoder_shared_dict
All threads encode the SAME dict -> encoder_listencode_dict crit-sect.
tsan_stress_simplejson.py:346
Function
scenario_shared_encoder_shared_list
All threads encode the SAME list -> encoder_listencode_list crit-sect.
tsan_stress_simplejson.py:367
Function
scenario_shared_scanner
N threads share ONE scanner; race on s->memo (SetItem/Clear).
tsan_stress_simplejson.py:301
Method
setUp
(self)
simplejson/tests/test_dump.py:262
Method
setUp
(self)
simplejson/tests/test_encode_for_html.py:7
Function
simple_first
Helper function to pass to item_sort_key to sort simple elements to the top, then container elements.
simplejson/__init__.py:566
Function
sio_dump
(obj, **kw)
simplejson/tests/test_iterable.py:9
Function
skip_if_speedups_missing
(func)
simplejson/tests/_helpers.py:11
Function
speedups_clear
simplejson/_speedups.c:3946
Function
speedups_traverse
simplejson/_speedups.c:3916
Method
test
(value)
simplejson/tests/test_speedups.py:24
Method
test
(name)
simplejson/tests/test_speedups.py:70
Method
test_accumulator
(self)
simplejson/tests/test_dump.py:140
Method
test_add_note_dict_recursion
(self)
simplejson/tests/test_errors.py:84
Method
test_add_note_list_recursion
(self)
simplejson/tests/test_errors.py:72
Method
test_add_note_nested_error
(self)
simplejson/tests/test_errors.py:96
Method
test_array_decoder_issue46
(self)
simplejson/tests/test_fail.py:122
Method
test_array_hook
(self)
simplejson/tests/test_decode.py:118
Method
test_array_hook_empty
(self)
simplejson/tests/test_decode.py:123
Method
test_array_hook_nested_in_object
(self)
simplejson/tests/test_decode.py:128
Method
test_array_hook_none
(self)
simplejson/tests/test_decode.py:146
Method
test_array_hook_with_object_hook
(self)
simplejson/tests/test_decode.py:132
Method
test_asdict_dispatch_order
(self)
simplejson/tests/test_namedtuple.py:157
Method
test_asdict_does_not_return_dict
(self)
simplejson/tests/test_namedtuple.py:139
Method
test_asdict_not_callable_dump
(self)
simplejson/tests/test_namedtuple.py:96
Method
test_asdict_not_callable_dumps
(self)
simplejson/tests/test_namedtuple.py:118
Method
test_asdict_returning_non_dict_no_leak
encoder_steal_encode's TypeError path on _asdict() returning a non-dict must release the stolen newobj reference.
simplejson/tests/test_speedups.py:250
Method
test_asdict_unbound_method_dumps
(self)
simplejson/tests/test_namedtuple.py:132
Method
test_bad_bool_args
(self)
simplejson/tests/test_speedups.py:23
Method
test_bad_bool_args
(self)
simplejson/tests/test_speedups.py:69
Method
test_bad_encoding
(self)
simplejson/tests/test_speedups.py:94
Method
test_bad_str_encoder
(self)
simplejson/tests/test_speedups.py:45
Method
test_basic_encode
(self)
simplejson/tests/test_encode_for_html.py:12
Method
test_basic_roundtrip
(self)
simplejson/tests/test_encode_for_html.py:24
Method
test_big_unicode_decode
(self)
simplejson/tests/test_unicode.py:49
Method
test_big_unicode_encode
(self)
simplejson/tests/test_unicode.py:44
Method
test_bigint_as_string_no_leak
maybe_quote_bigint's comparison path must release `encoded` on the RichCompareBool error branch and on the quoted-return path that rep
simplejson/tests/test_speedups.py:288
Method
test_boundary_at_max_bitcount
Regression test for -Wshift-negative-value UB in encoder_new. The C implementation computes ``-(2 ** n)`` as the minimum stringifiabl
simplejson/tests/test_bitsize_int_as_string.py:95
Method
test_bounded_int
(self)
simplejson/tests/test_decode.py:174
Method
test_bounds_checking
(self)
simplejson/tests/test_decode.py:107
Method
test_bytes_decode
(self)
simplejson/tests/test_decode.py:95
Method
test_bytes_key
(self)
simplejson/tests/test_dump.py:231
Method
test_bytes_nested
(self)
simplejson/tests/test_dump.py:208
Method
test_bytes_toplevel
(self)
simplejson/tests/test_dump.py:185
Method
test_c_encode_basestring_ascii
(self)
simplejson/tests/test_encode_basestring_ascii.py:29
Method
test_c_scanstring
(self)
simplejson/tests/test_scanstring.py:20
Method
test_case
(self)
simplejson/tests/test_item_sort_key.py:13
Method
test_circular_composite
(self)
simplejson/tests/test_check_circular.py:18
Method
test_circular_default
(self)
simplejson/tests/test_check_circular.py:24
Method
test_circular_dict
(self)
simplejson/tests/test_check_circular.py:8
Method
test_circular_list
(self)
simplejson/tests/test_check_circular.py:13
Method
test_circular_off_default
(self)
simplejson/tests/test_check_circular.py:28
Method
test_circular_reference_no_leak
ValueError mid-encode must not leak the partial accumulator, markers dict entry, or the ident PyLong.
simplejson/tests/test_speedups.py:237
Method
test_comparison_error_propagated
(self)
simplejson/tests/test_bitsize_int_as_string.py:64
Method
test_concurrent_decode
(self)
simplejson/tests/test_free_threading.py:59
Method
test_concurrent_encode
(self)
simplejson/tests/test_free_threading.py:43
Method
test_concurrent_encode_decode
Mix encode and decode on the same data across threads.
simplejson/tests/test_free_threading.py:74
Method
test_constants
(self)
simplejson/tests/test_dump.py:32
Method
test_decimal
(self)
simplejson/tests/test_decode.py:19
Method
test_decimal_decode
(self)
simplejson/tests/test_decimal.py:27
Method
test_decimal_defaults
(self)
simplejson/tests/test_decimal.py:49
Method
test_decimal_encode
(self)
simplejson/tests/test_decimal.py:23
Method
test_decimal_reload
(self)
simplejson/tests/test_decimal.py:64
Method
test_decode_error
(self)
simplejson/tests/test_errors.py:30
← previous
next →
201–300 of 472, ranked by callers