MCPcopy Create free account
hub / github.com/buger/jsonparser / Get

Method Get

path_compiler.go:178–180  ·  view source on GitHub ↗

Get resolves the compiled path in data. Verifies: SYS-REQ-001 (Get) SYS-REQ-114

(data []byte)

Source from the content-addressed store, hash-verified

176// Verifies: SYS-REQ-001 (Get)
177// SYS-REQ-114
178func (c CompiledPath) Get(data []byte) ([]byte, ValueType, int, error) {
179 return Get(data, c.parts...)
180}
181
182// GetString resolves the compiled path and returns its string value.
183// SYS-REQ-114

Calls 1

GetFunction · 0.85

Tested by 6

TestCompilePathRoundTripFunction · 0.64
BenchmarkUjsonSmallFunction · 0.64
BenchmarkUjsonMediumFunction · 0.64