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

Method Set

path_compiler.go:197–199  ·  view source on GitHub ↗

Set writes value at the compiled path. Verifies: SYS-REQ-009 (Set) SYS-REQ-114

(data []byte, value []byte)

Source from the content-addressed store, hash-verified

195// Verifies: SYS-REQ-009 (Set)
196// SYS-REQ-114
197func (c CompiledPath) Set(data []byte, value []byte) ([]byte, error) {
198 return Set(data, value, c.parts...)
199}
200
201// Delete removes the value at the compiled path.
202// SYS-REQ-114

Callers

nothing calls this directly

Calls 1

SetFunction · 0.85

Tested by

no test coverage detected