MCPcopy Index your code
hub / github.com/go-openapi/jsonpointer / JSONSet

Method JSONSet

ifaces.go:37–37  ·  view source on GitHub ↗

JSONSet sets the value pointed at the (unescaped) key. The key may be the RFC 6901 "-" token when the pointer targets a slice-like member; see the interface documentation for details.

(key string, value any)

Source from the content-addressed store, hash-verified

35 // The key may be the RFC 6901 "-" token when the pointer targets a slice-like member; see the
36 // interface documentation for details.
37 JSONSet(key string, value any) error
38}
39
40// NameProvider knows how to resolve go struct fields into json names.

Callers 1

setSingleImplFunction · 0.65

Implementers 4

CustomDociface_example_test.go
settableDocpointer_test.go
settableCollpointer_test.go
dashSetterdash_token_test.go

Calls

no outgoing calls

Tested by

no test coverage detected