MCPcopy Create free account

hub / github.com/simplejson/simplejson / functions

Functions472 in github.com/simplejson/simplejson

Methodfor_json
(self)
simplejson/tests/test_for_json.py:21
Methodfor_json
(self)
simplejson/tests/test_for_json.py:26
Methodfor_json
(self)
simplejson/tests/test_speedups.py:269
Methodfor_json
(self)
simplejson/tests/test_namedtuple.py:183
Methodfreeze_dict
(d)
simplejson/tests/test_decode.py:135
Methodfromkeys
(cls, iterable, value=None)
simplejson/ordered_dict.py:90
Methodget_exc
(scanstring, s)
simplejson/tests/test_scanstring.py:235
Functionif
simplejson/_speedups.c:851
Functioninit_speedups
Python 2.7: single-phase init via Py_InitModule3 */
simplejson/_speedups.c:4009
Methodinitialize_options
(self)
setup.py:70
Functioniter_dumps
(obj, **kw)
simplejson/tests/test_iterable.py:6
Functionjson_PyOS_string_to_double
simplejson/_speedups.c:50
Methodkeys
(self)
simplejson/ordered_dict.py:69
Functionload
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
Functionmodule_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
Functionmutator
()
tsan_stress_simplejson.py:403
Methodnoop_default
(obj)
simplejson/tests/test_iterable.py:51
Methodpopitem
(self, last=True)
simplejson/ordered_dict.py:52
Functionpy_encode_basestring
Return a JSON representation of a Python string
simplejson/encoder.py:53
Functionpy_encode_basestring
simplejson/_speedups.c:2127
Functionpy_encode_basestring_ascii
Return an ASCII-only JSON representation of a Python string
simplejson/encoder.py:80
Functionpy_make_scanner
(context)
simplejson/scanner.py:21
Functionpy_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
Functionpy_scanstring
simplejson/_speedups.c:1874
Functionreader
()
tsan_stress_simplejson.py:393
Functionreplace
(match)
simplejson/encoder.py:75
Methodrun
(self)
setup.py:54
MethodrunTest
(self)
simplejson/tests/__init__.py:18
Functionscan_four_digit_hex
Scan a four digit hex number from s[end:end + 4]
simplejson/decoder.py:56
Functionscan_worker
()
tsan_stress_simplejson.py:456
Functionscanner_dealloc
simplejson/_speedups.c:2156
Functionscanner_new
simplejson/_speedups.c:2377
Functionscanner_traverse
simplejson/_speedups.c:2171
Functionscenario_module_functions
Concurrent scanstring + encode_basestring_ascii (module-level).
tsan_stress_simplejson.py:426
Functionscenario_mutator_vs_readers
Mutator mutates dict while readers encode it. Stresses input CS.
tsan_stress_simplejson.py:388
Functionscenario_shared_encoder_distinct_inputs
N threads share ONE encoder; distinct objects. markers/key_memo races.
tsan_stress_simplejson.py:322
Functionscenario_shared_encoder_shared_dict
All threads encode the SAME dict -> encoder_listencode_dict crit-sect.
tsan_stress_simplejson.py:346
Functionscenario_shared_encoder_shared_list
All threads encode the SAME list -> encoder_listencode_list crit-sect.
tsan_stress_simplejson.py:367
Functionscenario_shared_scanner
N threads share ONE scanner; race on s->memo (SetItem/Clear).
tsan_stress_simplejson.py:301
MethodsetUp
(self)
simplejson/tests/test_dump.py:262
MethodsetUp
(self)
simplejson/tests/test_encode_for_html.py:7
Functionsimple_first
Helper function to pass to item_sort_key to sort simple elements to the top, then container elements.
simplejson/__init__.py:566
Functionsio_dump
(obj, **kw)
simplejson/tests/test_iterable.py:9
Functionskip_if_speedups_missing
(func)
simplejson/tests/_helpers.py:11
Functionspeedups_clear
simplejson/_speedups.c:3946
Functionspeedups_traverse
simplejson/_speedups.c:3916
Methodtest
(value)
simplejson/tests/test_speedups.py:24
Methodtest
(name)
simplejson/tests/test_speedups.py:70
Methodtest_accumulator
(self)
simplejson/tests/test_dump.py:140
Methodtest_add_note_dict_recursion
(self)
simplejson/tests/test_errors.py:84
Methodtest_add_note_list_recursion
(self)
simplejson/tests/test_errors.py:72
Methodtest_add_note_nested_error
(self)
simplejson/tests/test_errors.py:96
Methodtest_array_decoder_issue46
(self)
simplejson/tests/test_fail.py:122
Methodtest_array_hook
(self)
simplejson/tests/test_decode.py:118
Methodtest_array_hook_empty
(self)
simplejson/tests/test_decode.py:123
Methodtest_array_hook_nested_in_object
(self)
simplejson/tests/test_decode.py:128
Methodtest_array_hook_none
(self)
simplejson/tests/test_decode.py:146
Methodtest_array_hook_with_object_hook
(self)
simplejson/tests/test_decode.py:132
Methodtest_asdict_dispatch_order
(self)
simplejson/tests/test_namedtuple.py:157
Methodtest_asdict_does_not_return_dict
(self)
simplejson/tests/test_namedtuple.py:139
Methodtest_asdict_not_callable_dump
(self)
simplejson/tests/test_namedtuple.py:96
Methodtest_asdict_not_callable_dumps
(self)
simplejson/tests/test_namedtuple.py:118
Methodtest_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
Methodtest_asdict_unbound_method_dumps
(self)
simplejson/tests/test_namedtuple.py:132
Methodtest_bad_bool_args
(self)
simplejson/tests/test_speedups.py:23
Methodtest_bad_bool_args
(self)
simplejson/tests/test_speedups.py:69
Methodtest_bad_encoding
(self)
simplejson/tests/test_speedups.py:94
Methodtest_bad_str_encoder
(self)
simplejson/tests/test_speedups.py:45
Methodtest_basic_encode
(self)
simplejson/tests/test_encode_for_html.py:12
Methodtest_basic_roundtrip
(self)
simplejson/tests/test_encode_for_html.py:24
Methodtest_big_unicode_decode
(self)
simplejson/tests/test_unicode.py:49
Methodtest_big_unicode_encode
(self)
simplejson/tests/test_unicode.py:44
Methodtest_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
Methodtest_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
Methodtest_bounded_int
(self)
simplejson/tests/test_decode.py:174
Methodtest_bounds_checking
(self)
simplejson/tests/test_decode.py:107
Methodtest_bytes_decode
(self)
simplejson/tests/test_decode.py:95
Methodtest_bytes_key
(self)
simplejson/tests/test_dump.py:231
Methodtest_bytes_nested
(self)
simplejson/tests/test_dump.py:208
Methodtest_bytes_toplevel
(self)
simplejson/tests/test_dump.py:185
Methodtest_c_encode_basestring_ascii
(self)
simplejson/tests/test_encode_basestring_ascii.py:29
Methodtest_c_scanstring
(self)
simplejson/tests/test_scanstring.py:20
Methodtest_case
(self)
simplejson/tests/test_item_sort_key.py:13
Methodtest_circular_composite
(self)
simplejson/tests/test_check_circular.py:18
Methodtest_circular_default
(self)
simplejson/tests/test_check_circular.py:24
Methodtest_circular_dict
(self)
simplejson/tests/test_check_circular.py:8
Methodtest_circular_list
(self)
simplejson/tests/test_check_circular.py:13
Methodtest_circular_off_default
(self)
simplejson/tests/test_check_circular.py:28
Methodtest_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
Methodtest_comparison_error_propagated
(self)
simplejson/tests/test_bitsize_int_as_string.py:64
Methodtest_concurrent_decode
(self)
simplejson/tests/test_free_threading.py:59
Methodtest_concurrent_encode
(self)
simplejson/tests/test_free_threading.py:43
Methodtest_concurrent_encode_decode
Mix encode and decode on the same data across threads.
simplejson/tests/test_free_threading.py:74
Methodtest_constants
(self)
simplejson/tests/test_dump.py:32
Methodtest_decimal
(self)
simplejson/tests/test_decode.py:19
Methodtest_decimal_decode
(self)
simplejson/tests/test_decimal.py:27
Methodtest_decimal_defaults
(self)
simplejson/tests/test_decimal.py:49
Methodtest_decimal_encode
(self)
simplejson/tests/test_decimal.py:23
Methodtest_decimal_reload
(self)
simplejson/tests/test_decimal.py:64
Methodtest_decode_error
(self)
simplejson/tests/test_errors.py:30
← previousnext →201–300 of 472, ranked by callers