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

Method Set

config.go:66–68  ·  view source on GitHub ↗

Set replaces the value addressed by keys using c's parsing options. SYS-REQ-115

(data []byte, value []byte, keys ...string)

Source from the content-addressed store, hash-verified

64// Set replaces the value addressed by keys using c's parsing options.
65// SYS-REQ-115
66func (c Config) Set(data []byte, value []byte, keys ...string) ([]byte, error) {
67 return setConfig(c, data, value, keys...)
68}
69
70// Delete removes the value addressed by keys using c's parsing options.
71// SYS-REQ-115

Callers 4

TestConfigSetFunction · 0.45
TestConfigRoundTripFunction · 0.45
TestCompilePathSetFunction · 0.45
TestCompilePathRoundTripFunction · 0.45

Calls 1

setConfigFunction · 0.85

Tested by 4

TestConfigSetFunction · 0.36
TestConfigRoundTripFunction · 0.36
TestCompilePathSetFunction · 0.36
TestCompilePathRoundTripFunction · 0.36