MCPcopy Create free account
hub / github.com/aws/smithy-go / writeKey

Method writeKey

encoding/json/object.go:19–22  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

17}
18
19func (o *Object) writeKey(key string) {
20 escapeStringBytes(o.w, []byte(key))
21 o.w.WriteRune(colon)
22}
23
24// Key adds the given named key to the JSON object.
25// Returns a Value encoder that should be used to encode

Callers 1

KeyMethod · 0.95

Calls 2

escapeStringBytesFunction · 0.85
WriteRuneMethod · 0.65

Tested by

no test coverage detected