Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ functions
Functions
1,168 in github.com/buger/jsonparser
⨍
Functions
1,168
◇
Types & classes
46
↓ 1 callers
Function
toStringArray
Test helper for SYS-REQ-006 and SYS-REQ-008.
parser_test.go:24
↓ 1 callers
Function
truncateForName
truncateForName renders a byte slice for use as a subtest name, capping the length so deeply-nested seeds (100 KB) don't produce gigantic test IDs.
encoding_json_fuzz_test.go:767
↓ 1 callers
Function
unescapeToUTF8
unescapeToUTF8 unescapes the single escape sequence starting at 'in' into 'out' and returns how many characters were consumed from 'in' and emitted in
escape.go:180
↓ 1 callers
Function
validContainerPrimitive
SYS-REQ-112
parser.go:2377
↓ 1 callers
Function
validJSONNumber
SYS-REQ-112
parser.go:2392
↓ 1 callers
Function
valueTypeError
SYS-REQ-116
reader_parser.go:684
Method
ArrayEach
ArrayEach iterates over the array at the compiled path. SYS-REQ-114
path_compiler.go:209
Function
BenchmarkBytesEqualStrSafe
Alternative implementation without using unsafe Verifies: SYS-REQ-001 MCDC SYS-REQ-001: N/A
bytes_unsafe_test.go:67
Function
BenchmarkBytesEqualStrUnsafeSlower
Alternative implementation using unsafe, but that is slower than the current implementation Verifies: SYS-REQ-001 MCDC SYS-REQ-001: N/A
bytes_unsafe_test.go:76
Function
BenchmarkDeleteLarge
Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-dete
benchmark/benchmark_delete_test.go:36
Function
BenchmarkDeleteNested
Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-dete
benchmark/benchmark_delete_test.go:24
Function
BenchmarkDeleteSmall
Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-dete
benchmark/benchmark_delete_test.go:12
Function
BenchmarkDjsonLarge
* github.com/a8m/djson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-RE
benchmark/benchmark_large_payload_test.go:158
Function
BenchmarkDjsonMedium
* github.com/a8m/djson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-RE
benchmark/benchmark_medium_payload_test.go:443
Function
BenchmarkDjsonSmall
* github.com/a8m/djson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-RE
benchmark/benchmark_small_payload_test.go:440
Function
BenchmarkEasyJsonLarge
* github.com/mailru/easyjson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_large_payload_test.go:132
Function
BenchmarkEasyJsonMedium
* github.com/mailru/easyjson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_medium_payload_test.go:503
Function
BenchmarkEasyJsonSmall
* github.com/mailru/easyjson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_small_payload_test.go:485
Function
BenchmarkEncodingJsonInterfaceLarge
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A reqproof:proptest:
benchmark/benchmark_large_payload_test.go:78
Function
BenchmarkEncodingJsonInterfaceMedium
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_medium_payload_test.go:257
Function
BenchmarkEncodingJsonInterfaceSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:261
Function
BenchmarkEncodingJsonStructLarge
* encoding/json */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004:
benchmark/benchmark_large_payload_test.go:56
Function
BenchmarkEncodingJsonStructMedium
* encoding/json */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004:
benchmark/benchmark_medium_payload_test.go:233
Function
BenchmarkEncodingJsonStructSmall
* encoding/json */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004:
benchmark/benchmark_small_payload_test.go:241
Function
BenchmarkEqualStr
Verifies: SYS-REQ-001 MCDC SYS-REQ-001: N/A
bytes_unsafe_test.go:58
Function
BenchmarkFFJsonLarge
* github.com/pquerna/ffjson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC S
benchmark/benchmark_large_payload_test.go:107
Function
BenchmarkFFJsonMedium
* github.com/pquerna/ffjson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC S
benchmark/benchmark_medium_payload_test.go:352
Function
BenchmarkFFJsonSmall
* github.com/pquerna/ffjson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC S
benchmark/benchmark_small_payload_test.go:363
Function
BenchmarkGabsMedium
* github.com/Jeffail/gabs */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK
benchmark/benchmark_medium_payload_test.go:291
Function
BenchmarkGabsSmall
* github.com/Jeffail/gabs */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK
benchmark/benchmark_small_payload_test.go:285
Function
BenchmarkGet_StringValue_NoEscape
--- end-to-end Get with a string value ------------------------------------- Verifies that stringEnd's fast path actually shows up in a realistic call
optimization_bench_test.go:86
Function
BenchmarkGoSimpleJsonMedium
* github.com/bitly/go-simplejson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_medium_payload_test.go:323
Function
BenchmarkGoSimplejsonSetSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:336
Function
BenchmarkGoSimplejsonSmall
* github.com/bitly/go-simplejson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_small_payload_test.go:312
Function
BenchmarkJasonMedium
* github.com/bitly/go-simplejson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_medium_payload_test.go:379
Function
BenchmarkJasonSmall
* github.com/bitly/go-simplejson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_small_payload_test.go:386
Function
BenchmarkJsonParserDelSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:213
Function
BenchmarkJsonParserDeleteMedium
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_medium_payload_test.go:63
Function
BenchmarkJsonParserEachKeyManualMedium
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_medium_payload_test.go:87
Function
BenchmarkJsonParserEachKeyManualSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:66
Function
BenchmarkJsonParserEachKeyStructMedium
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_medium_payload_test.go:124
Function
BenchmarkJsonParserEachKeyStructSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:101
Function
BenchmarkJsonParserLarge
* github.com/buger/jsonparser */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_large_payload_test.go:31
Function
BenchmarkJsonParserMedium
* github.com/buger/jsonparser */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_medium_payload_test.go:39
Function
BenchmarkJsonParserObjectEachStructMedium
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_medium_payload_test.go:173
Function
BenchmarkJsonParserObjectEachStructSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:142
Function
BenchmarkJsonParserSetSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:191
Function
BenchmarkJsonParserSmall
* github.com/buger/jsonparser */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_small_payload_test.go:44
Function
BenchmarkParseInt
Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
bytes_test.go:125
Function
BenchmarkParseIntOverflows
Old implementation that did not check for overflows. Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
bytes_test.go:145
Function
BenchmarkParseIntUnsafeSlower
Alternative implementation using unsafe and delegating to strconv.ParseInt Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
bytes_test.go:135
Function
BenchmarkParsePath
(b *testing.B)
path_compiler_test.go:292
Function
BenchmarkSet
BenchmarkSet models Set's former incrementally-grown bytes.Buffer. Verifies: SYS-REQ-009 (Set)
issues_56_107_229_test.go:205
Function
BenchmarkSetLarge
Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-dete
benchmark/benchmark_set_test.go:12
Function
BenchmarkSetPreAllocated
BenchmarkSetPreAllocated measures Set's calcAllocateSpace-backed component construction. Verifies: SYS-REQ-009 (Set)
issues_56_107_229_test.go:223
Function
BenchmarkStringEnd_NoEscape_Long
(b *testing.B)
optimization_bench_test.go:30
Function
BenchmarkStringEnd_NoEscape_Short
============================================================================= Micro-benchmarks for the fast-path optimizations modeled on PR #285. Ea
optimization_bench_test.go:21
Function
BenchmarkStringEnd_WithEscape
(b *testing.B)
optimization_bench_test.go:40
Function
BenchmarkTokenEnd_Boolean
(b *testing.B)
optimization_bench_test.go:74
Function
BenchmarkTokenEnd_LongNumber
(b *testing.B)
optimization_bench_test.go:64
Function
BenchmarkTokenEnd_Number
--- tokenEnd --------------------------------------------------------------- Common case: a bare scalar value (number, boolean, null) terminated by a
optimization_bench_test.go:54
Function
BenchmarkUgirjiMedium
* github.com/ugorji/go/codec */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_medium_payload_test.go:474
Function
BenchmarkUgirjiSmall
* github.com/ugorji/go/codec */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_small_payload_test.go:461
Function
BenchmarkUjsonMedium
* github.com/mreiferson/go-ujson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_medium_payload_test.go:410
Function
BenchmarkUjsonSmall
* github.com/mreiferson/go-ujson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_small_payload_test.go:413
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:282
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:622
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:786
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:948
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1357
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1637
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1841
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2024
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2237
Method
CodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2465
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:47
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:563
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:727
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:897
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1217
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1542
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1782
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1946
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2151
Method
CodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2370
Method
Delete
Delete removes the value at the compiled path. SYS-REQ-114
path_compiler.go:203
Function
FuzzDeleteNative
Verifies: SYS-REQ-035
fuzz_native_test.go:113
Function
FuzzEachKeyNative
Verifies: SYS-REQ-008
fuzz_native_test.go:129
Function
FuzzEncodingJSON
============================================================================= The fuzzer (testing.F, native go-fuzz) =================================
encoding_json_fuzz_test.go:653
Function
FuzzGetBooleanNative
Verifies: SYS-REQ-005
fuzz_native_test.go:209
Function
FuzzGetFloatNative
Verifies: SYS-REQ-004
fuzz_native_test.go:193
Function
FuzzGetIntNative
Verifies: SYS-REQ-003
fuzz_native_test.go:201
Function
FuzzGetStringNative
Verifies: SYS-REQ-002
fuzz_native_test.go:185
Function
FuzzGetUnsafeStringNative
Verifies: SYS-REQ-011
fuzz_native_test.go:217
Function
FuzzJSONStructureAware
FuzzJSONStructureAware is the structure-aware fuzzer. It combines: - Grammar-based JSON generation (always emits valid structures). - JSON-aware mutat
json_fuzz_test.go:1509
Function
FuzzObjectEachNative
Verifies: SYS-REQ-007
fuzz_native_test.go:145
Function
FuzzParseBoolNative
Verifies: SYS-REQ-012
fuzz_native_test.go:169
Function
FuzzParseFloatNative
Verifies: SYS-REQ-013
fuzz_native_test.go:153
Function
FuzzParseIntNative
Verifies: SYS-REQ-015
fuzz_native_test.go:161
Function
FuzzParseStringNative
Verifies: SYS-REQ-014
fuzz_native_test.go:121
← previous
next →
301–400 of 1,168, ranked by callers