Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ functions
Functions
1,014 in github.com/buger/jsonparser
⨍
Functions
1,014
◇
Types & classes
26
Function
TestMCDC_SYS_REQ_083_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-083 (ArrayEach on truncated-at-value-boundary returns error) ---
mcdc_spec_witnesses_test.go:2705
Function
TestMCDC_SYS_REQ_083_Row2_InvariantViolation
Verifies: SYS-REQ-083 MCDC SYS-REQ-083: arrayeach_input_is_truncated_at_value_boundary=T, returns_error_for_arrayeach_truncated_value=F => FALSE
mcdc_spec_witnesses_test.go:2719
Function
TestMCDC_SYS_REQ_083_Row3_TruncatedError
Verifies: SYS-REQ-083 MCDC SYS-REQ-083: arrayeach_input_is_truncated_at_value_boundary=T, returns_error_for_arrayeach_truncated_value=T => TRUE
mcdc_spec_witnesses_test.go:2727
Function
TestMCDC_SYS_REQ_084_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-084 (ObjectEach on truncated-mid-structure returns error) ------
mcdc_spec_witnesses_test.go:2739
Function
TestMCDC_SYS_REQ_084_Row2_InvariantViolation
Verifies: SYS-REQ-084 MCDC SYS-REQ-084: objecteach_input_is_truncated_mid_structure=T, returns_error_for_objecteach_truncated_structure=F => FALSE
mcdc_spec_witnesses_test.go:2754
Function
TestMCDC_SYS_REQ_084_Row3_TruncatedError
Verifies: SYS-REQ-084 MCDC SYS-REQ-084: objecteach_input_is_truncated_mid_structure=T, returns_error_for_objecteach_truncated_structure=T => TRUE
mcdc_spec_witnesses_test.go:2762
Function
TestMCDC_SYS_REQ_085_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-085 (EachKey handles tokenEnd sentinel safely) -----------------
mcdc_spec_witnesses_test.go:2774
Function
TestMCDC_SYS_REQ_085_Row2_InvariantViolation
Verifies: SYS-REQ-085 MCDC SYS-REQ-085: eachkey_handles_sentinel_safely=F, eachkey_tokenEnd_sentinel_reached=T => FALSE
mcdc_spec_witnesses_test.go:2786
Function
TestMCDC_SYS_REQ_085_Row3_SentinelHandled
Verifies: SYS-REQ-085 MCDC SYS-REQ-085: eachkey_handles_sentinel_safely=T, eachkey_tokenEnd_sentinel_reached=T => TRUE
mcdc_spec_witnesses_test.go:2794
Function
TestMCDC_SYS_REQ_086_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-086 (Get is deterministic — called twice with same input) ------
mcdc_spec_witnesses_test.go:2927
Function
TestMCDC_SYS_REQ_086_Row2_InvariantViolation
Verifies: SYS-REQ-086 MCDC SYS-REQ-086: get_called_twice_with_same_input=T, get_returns_identical_results=F => FALSE
mcdc_spec_witnesses_test.go:2939
Function
TestMCDC_SYS_REQ_087_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-087 (Get does not mutate input on valid input) -----------------
mcdc_spec_witnesses_test.go:2953
Function
TestMCDC_SYS_REQ_087_Row2_InvariantViolation
Verifies: SYS-REQ-087 MCDC SYS-REQ-087: get_called_on_valid_input=T, get_does_not_mutate_input=F => FALSE
mcdc_spec_witnesses_test.go:2962
Function
TestMCDC_SYS_REQ_088_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-088 (Get on nil input returns safe result) ---------------------
mcdc_spec_witnesses_test.go:2979
Function
TestMCDC_SYS_REQ_088_Row2_InvariantViolation
Verifies: SYS-REQ-088 MCDC SYS-REQ-088: get_input_is_nil=T, get_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:2987
Function
TestMCDC_SYS_REQ_089_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-089 (Get handles deep nesting safely) --------------------------
mcdc_spec_witnesses_test.go:3004
Function
TestMCDC_SYS_REQ_089_Row2_InvariantViolation
Verifies: SYS-REQ-089 MCDC SYS-REQ-089: get_handles_deep_nesting_safely=F, get_input_is_deeply_nested=T => FALSE
mcdc_spec_witnesses_test.go:3012
Function
TestMCDC_SYS_REQ_090_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-090 (GetString is deterministic) -------------------------------
mcdc_spec_witnesses_test.go:3042
Function
TestMCDC_SYS_REQ_090_Row2_InvariantViolation
Verifies: SYS-REQ-090 MCDC SYS-REQ-090: getstring_called_twice_with_same_input=T, getstring_returns_identical_results=F => FALSE
mcdc_spec_witnesses_test.go:3050
Function
TestMCDC_SYS_REQ_091_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-091 (GetString on nil input returns safe result) ---------------
mcdc_spec_witnesses_test.go:3064
Function
TestMCDC_SYS_REQ_091_Row2_InvariantViolation
Verifies: SYS-REQ-091 MCDC SYS-REQ-091: getstring_input_is_nil=T, getstring_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:3072
Function
TestMCDC_SYS_REQ_092_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-092 (GetString decodes escaped unicode) ------------------------
mcdc_spec_witnesses_test.go:3088
Function
TestMCDC_SYS_REQ_092_Row2_InvariantViolation
Verifies: SYS-REQ-092 MCDC SYS-REQ-092: getstring_decodes_and_preserves_semantics=F, getstring_input_has_escaped_unicode=T => FALSE
mcdc_spec_witnesses_test.go:3096
Function
TestMCDC_SYS_REQ_093_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-093 (GetString handles unicode edges) --------------------------
mcdc_spec_witnesses_test.go:3115
Function
TestMCDC_SYS_REQ_093_Row2_InvariantViolation
Verifies: SYS-REQ-093 MCDC SYS-REQ-093: getstring_handles_unicode_edges_safely=F, getstring_input_has_unicode_edge_cases=T => FALSE
mcdc_spec_witnesses_test.go:3123
Function
TestMCDC_SYS_REQ_094_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-094 (Typed getters are deterministic) --------------------------
mcdc_spec_witnesses_test.go:3143
Function
TestMCDC_SYS_REQ_094_Row2_InvariantViolation
Verifies: SYS-REQ-094 MCDC SYS-REQ-094: typed_getter_called_twice_with_same_input=T, typed_getter_returns_identical_results=F => FALSE
mcdc_spec_witnesses_test.go:3151
Function
TestMCDC_SYS_REQ_095_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-095 (Typed getters on nil input return safe result) ------------
mcdc_spec_witnesses_test.go:3165
Function
TestMCDC_SYS_REQ_095_Row2_InvariantViolation
Verifies: SYS-REQ-095 MCDC SYS-REQ-095: typed_getter_input_is_nil=T, typed_getter_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:3173
Function
TestMCDC_SYS_REQ_096_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-096 (GetInt handles large numbers safely) ----------------------
mcdc_spec_witnesses_test.go:3189
Function
TestMCDC_SYS_REQ_096_Row2_InvariantViolation
Verifies: SYS-REQ-096 MCDC SYS-REQ-096: getint_handles_large_numbers_safely=F, getint_input_has_large_number_edge_case=T => FALSE
mcdc_spec_witnesses_test.go:3197
Function
TestMCDC_SYS_REQ_097_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-097 (Traversal helpers EachKey/ArrayEach are deterministic) ----
mcdc_spec_witnesses_test.go:3214
Function
TestMCDC_SYS_REQ_097_Row2_InvariantViolation
Verifies: SYS-REQ-097 MCDC SYS-REQ-097: traversal_called_twice_with_same_input=T, traversal_returns_identical_results=F => FALSE
mcdc_spec_witnesses_test.go:3225
Function
TestMCDC_SYS_REQ_098_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-098 (Traversal helpers on nil input return safe result) --------
mcdc_spec_witnesses_test.go:3242
Function
TestMCDC_SYS_REQ_098_Row2_InvariantViolation
Verifies: SYS-REQ-098 MCDC SYS-REQ-098: traversal_input_is_nil=T, traversal_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:3253
Function
TestMCDC_SYS_REQ_099_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-099 (Traversal handles deep nesting safely) --------------------
mcdc_spec_witnesses_test.go:3272
Function
TestMCDC_SYS_REQ_099_Row2_InvariantViolation
Verifies: SYS-REQ-099 MCDC SYS-REQ-099: traversal_handles_deep_nesting_safely=F, traversal_input_is_deeply_nested=T => FALSE
mcdc_spec_witnesses_test.go:3283
Function
TestMCDC_SYS_REQ_100_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-100 (Set applied twice with same args is deterministic) --------
mcdc_spec_witnesses_test.go:3303
Function
TestMCDC_SYS_REQ_100_Row2_InvariantViolation
Verifies: SYS-REQ-100 MCDC SYS-REQ-100: set_applied_twice_with_same_args=T, set_second_call_produces_same_result=F => FALSE
mcdc_spec_witnesses_test.go:3311
Function
TestMCDC_SYS_REQ_101_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-101 (Mutation helpers on nil input return safe result) ---------
mcdc_spec_witnesses_test.go:3325
Function
TestMCDC_SYS_REQ_101_Row2_InvariantViolation
Verifies: SYS-REQ-101 MCDC SYS-REQ-101: mutation_input_is_nil=T, mutation_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:3333
Function
TestMCDC_SYS_REQ_102_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-102 (Mutation handles unicode keys safely) ---------------------
mcdc_spec_witnesses_test.go:3349
Function
TestMCDC_SYS_REQ_102_Row2_InvariantViolation
Verifies: SYS-REQ-102 MCDC SYS-REQ-102: mutation_handles_unicode_keys_safely=F, mutation_input_has_unicode_keys=T => FALSE
mcdc_spec_witnesses_test.go:3357
Function
TestMCDC_SYS_REQ_103_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-103 (GetUnsafeString is deterministic) -------------------------
mcdc_spec_witnesses_test.go:3374
Function
TestMCDC_SYS_REQ_103_Row2_InvariantViolation
Verifies: SYS-REQ-103 MCDC SYS-REQ-103: getunsafestring_called_twice_with_same_input=T, getunsafestring_returns_identical_results=F => FALSE
mcdc_spec_witnesses_test.go:3382
Function
TestMCDC_SYS_REQ_104_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-104 (GetUnsafeString on nil input returns safe result) ---------
mcdc_spec_witnesses_test.go:3396
Function
TestMCDC_SYS_REQ_104_Row2_InvariantViolation
Verifies: SYS-REQ-104 MCDC SYS-REQ-104: getunsafestring_input_is_nil=T, getunsafestring_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:3404
Function
TestMCDC_SYS_REQ_105_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-105 (GetUnsafeString handles unicode edges safely) -------------
mcdc_spec_witnesses_test.go:3420
Function
TestMCDC_SYS_REQ_105_Row2_InvariantViolation
Verifies: SYS-REQ-105 MCDC SYS-REQ-105: getunsafestring_handles_unicode_edges_safely=F, getunsafestring_input_has_unicode_edge_cases=T => FALSE
mcdc_spec_witnesses_test.go:3428
Function
TestMCDC_SYS_REQ_106_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-106 (Parse helpers are deterministic) --------------------------
mcdc_spec_witnesses_test.go:3446
Function
TestMCDC_SYS_REQ_106_Row2_InvariantViolation
Verifies: SYS-REQ-106 MCDC SYS-REQ-106: parse_helper_called_twice_with_same_input=T, parse_helper_returns_identical_results=F => FALSE
mcdc_spec_witnesses_test.go:3454
Function
TestMCDC_SYS_REQ_107_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-107 (Parse helpers on nil input return safe result) ------------
mcdc_spec_witnesses_test.go:3468
Function
TestMCDC_SYS_REQ_107_Row2_InvariantViolation
Verifies: SYS-REQ-107 MCDC SYS-REQ-107: parse_helper_input_is_nil=T, parse_helper_returns_safe_result_for_nil=F => FALSE
mcdc_spec_witnesses_test.go:3476
Function
TestMCDC_SYS_REQ_108_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-108 (ParseString round-trip preserves semantics) ---------------
mcdc_spec_witnesses_test.go:3492
Function
TestMCDC_SYS_REQ_108_Row2_InvariantViolation
Verifies: SYS-REQ-108 MCDC SYS-REQ-108: parsestring_input_has_standard_escapes=T, parsestring_roundtrip_preserves_semantics=F => FALSE
mcdc_spec_witnesses_test.go:3500
Function
TestMCDC_SYS_REQ_109_Row1_TriggerFalse
----------------------------------------------------------------------------- SYS-REQ-109 (ParseInt handles edge numbers safely) ---------------------
mcdc_spec_witnesses_test.go:3516
Function
TestMCDC_SYS_REQ_109_Row2_InvariantViolation
Verifies: SYS-REQ-109 MCDC SYS-REQ-109: parseint_handles_edge_numbers_safely=F, parseint_input_has_edge_case_number=T => FALSE
mcdc_spec_witnesses_test.go:3524
Function
TestMCDC_SYS_REQ_110_Row1_InRangeNoAppend
============================================================================= SYS-REQ-110 / SYS-REQ-111 witness tests. ===============================
sys_req_110_111_witness_test.go:36
Function
TestMCDC_SYS_REQ_110_Row2_InvariantViolation
Verifies: SYS-REQ-110 [boundary] MCDC SYS-REQ-110: set_appends_value_at_array_end=F, set_targets_array_index_beyond_length=T => FALSE Expected: FALSE
sys_req_110_111_witness_test.go:62
Function
TestMCDC_SYS_REQ_110_Row3_BeyondLengthAppendsAtEnd
Verifies: SYS-REQ-110 [nested_mutation] SYS-REQ-110:nested_mutation:nominal MCDC SYS-REQ-110: set_appends_value_at_array_end=T, set_targets_array_inde
sys_req_110_111_witness_test.go:84
Function
TestMCDC_SYS_REQ_111_Row1_NonEmptyKeyNoAction
============================================================================= SYS-REQ-111 — Empty-string key component → KeyPathNotFoundError, no pani
sys_req_110_111_witness_test.go:122
Function
TestMCDC_SYS_REQ_111_Row2_InvariantViolation
Verifies: SYS-REQ-111 [missing_path] MCDC SYS-REQ-111: completes_without_panic_on_empty_key_component=F, path_component_is_empty_string=T, returns_not
sys_req_110_111_witness_test.go:151
Function
TestMCDC_SYS_REQ_111_Row3_InvariantViolation
Verifies: SYS-REQ-111 [missing_path] MCDC SYS-REQ-111: completes_without_panic_on_empty_key_component=F, path_component_is_empty_string=T, returns_not
sys_req_110_111_witness_test.go:174
Function
TestMCDC_SYS_REQ_111_Row4_InvariantViolation
Verifies: SYS-REQ-111 [missing_path] MCDC SYS-REQ-111: completes_without_panic_on_empty_key_component=T, path_component_is_empty_string=T, returns_not
sys_req_110_111_witness_test.go:191
Function
TestMCDC_SYS_REQ_111_Row5_EmptyKeyReturnsNotFoundNoPanic
Verifies: SYS-REQ-111 [nil_safety] SYS-REQ-111:nil_safety:nominal SYS-REQ-016:nil_safety:nominal Carrier: this test drives the same parser.go:Get/sear
sys_req_110_111_witness_test.go:223
Function
TestMissingSurrogateLow
Verifies: SYS-REQ-061 [malformed] A lone high surrogate is malformed per RFC 8259/WHATWG; per DEFECT-260727-SNGT the parser matches encoding/json by s
deep_spec_test.go:622
Function
TestMutationNilSafety
Verifies: SYS-REQ-101 MCDC SYS-REQ-101: mutation_input_is_nil=T, mutation_returns_safe_result_for_nil=T => TRUE
obligation_property_test.go:398
Function
TestMutationUnicodeKeys
Verifies: SYS-REQ-102 MCDC SYS-REQ-102: mutation_input_has_unicode_keys=T, mutation_handles_unicode_keys_safely=T => TRUE
obligation_property_test.go:760
Function
TestNegativeArrayIndex
============================================================================= Negative array index (SYS-REQ-047) =====================================
deep_spec_test.go:185
Function
TestObjectEach
Verifies: SYS-REQ-031 [example] MCDC SYS-REQ-031: addressed_object_is_well_formed=F, malformed_object_input_returns_error=T => TRUE Verifies: SYS-REQ-
parser_test.go:1881
Function
TestObjectEachCallbackErrorPropagation
============================================================================= ObjectEach callback-error propagation test (closes Dimension 2) ========
path_fuzz_test.go:734
Function
TestObjectEachNestedPathAndCallbackError
Verifies: SYS-REQ-032 [boundary] MCDC SYS-REQ-032: addressed_object_is_well_formed=T, object_callback_returns_error=T, object_callback_error_is_return
parser_test.go:1929
Function
TestObjectEachSupplementalErrors
Verifies: SYS-REQ-007 [malformed] MCDC SYS-REQ-007: N/A
mcdc_supplement_test.go:272
Function
TestObjectEachTruncatedMidEntry
============================================================================= ObjectEach truncation (SYS-REQ-054) ====================================
deep_spec_test.go:457
Function
TestObjectEachTruncatedMidStructure
============================================================================= ObjectEach truncated mid-structure (SYS-REQ-084) =======================
deep_spec_test.go:873
Function
TestObjectEach_OOB_BraceAndWhitespace
Verifies: SYS-REQ-007 [boundary]
dead_code_audit_oob_test.go:75
Function
TestObjectEach_OOB_JustOpenBrace
Verifies: SYS-REQ-007 [boundary]
dead_code_audit_oob_test.go:63
Function
TestObjectEach_OOB_TruncatedAfterColon
Verifies: SYS-REQ-007 [boundary]
dead_code_audit_oob_test.go:27
Function
TestObjectEach_OOB_TruncatedAfterComma
Test that ObjectEach doesn't panic with out-of-bounds access after removing the `offset < len(data)` loop guard. Verifies: SYS-REQ-007 [boundary]
dead_code_audit_oob_test.go:11
Function
TestObjectEach_OOB_TruncatedAfterKey
Verifies: SYS-REQ-007 [boundary]
dead_code_audit_oob_test.go:39
Function
TestObjectEach_OOB_TruncatedMidKey
Verifies: SYS-REQ-007 [boundary]
dead_code_audit_oob_test.go:51
Function
TestObligation_STK_REQ_001
============================================================================= Obligation evidence witnesses. =========================================
obligation_evidence_test.go:25
Function
TestObligation_STK_REQ_002
STK-REQ-002:malformed_input:negative STK-REQ-002:nil_safety:negative
obligation_evidence_test.go:36
Function
TestObligation_STK_REQ_003
STK-REQ-003:malformed_input:negative STK-REQ-003:nil_safety:negative
obligation_evidence_test.go:47
Function
TestObligation_STK_REQ_004
STK-REQ-004:malformed_input:negative STK-REQ-004:nil_safety:negative
obligation_evidence_test.go:58
Function
TestObligation_STK_REQ_005
STK-REQ-005:malformed_input:negative STK-REQ-005:nil_safety:negative
obligation_evidence_test.go:69
Function
TestObligation_STK_REQ_005_Boundary_Nominal_ForSetBeyondLengthContract
============================================================================= Obligation evidence — STK-REQ-005 triples for the obligation classes SYS
sys_req_110_111_witness_test.go:410
Function
TestObligation_STK_REQ_005_MissingPath_Nominal_ForEmptyKeyContract
STK-REQ-005:missing_path:nominal
sys_req_110_111_witness_test.go:442
Function
TestObligation_STK_REQ_005_NestedMutation_Nominal_ForBeyondLengthAppend
STK-REQ-005:nested_mutation:nominal
sys_req_110_111_witness_test.go:426
Function
TestObligation_STK_REQ_005_NilSafety_Negative_ForNilPlusEmptyKey
STK-REQ-005:nil_safety:negative
sys_req_110_111_witness_test.go:478
Function
TestObligation_STK_REQ_005_NilSafety_Nominal_ForEmptyKeyContract
STK-REQ-005:nil_safety:nominal
sys_req_110_111_witness_test.go:464
Function
TestObligation_STK_REQ_005_NoPathProvided_Nominal_ForSetZeroKeys
STK-REQ-005:no_path_provided:nominal
sys_req_110_111_witness_test.go:491
Function
TestObligation_STK_REQ_006
STK-REQ-006:malformed_input:negative STK-REQ-006:nil_safety:negative
obligation_evidence_test.go:80
Function
TestObligation_STK_REQ_007
STK-REQ-007:malformed_input:negative STK-REQ-007:nil_safety:negative
obligation_evidence_test.go:91
Function
TestObligation_SYS_REQ_001
----------------------------------------------------------------------------- SYS-REQ obligation evidence — each requirement's obligation_checklist it
obligation_evidence_test.go:105
Function
TestObligation_SYS_REQ_002
SYS-REQ-002:determinism:nominal SYS-REQ-002:edge_case:nominal SYS-REQ-002:encoding_safety:nominal
obligation_evidence_test.go:116
Function
TestObligation_SYS_REQ_003
SYS-REQ-003:determinism:nominal
obligation_evidence_test.go:134
Function
TestObligation_SYS_REQ_006
SYS-REQ-006:determinism:nominal
obligation_evidence_test.go:143
Function
TestObligation_SYS_REQ_008
SYS-REQ-008:edge_case:nominal
obligation_evidence_test.go:154
Function
TestObligation_SYS_REQ_009
SYS-REQ-009:idempotency:nominal
obligation_evidence_test.go:160
← previous
next →
701–800 of 1,014, ranked by callers