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

Struct jsonObjectKeyProvider

document/json/encoder.go:54–57  ·  view source on GitHub ↗

jsonObjectKeyProvider is a valueProvider that returns a JSON value type for encoding a value for the given JSON object key.

Source from the content-addressed store, hash-verified

52// jsonObjectKeyProvider is a valueProvider that returns a JSON value type for encoding a value for the given JSON object
53// key.
54type jsonObjectKeyProvider struct {
55 Object *smithyjson.Object
56 Key string
57}
58
59func (p jsonObjectKeyProvider) GetValue() smithyjson.Value {
60 return p.Object.Key(p.Key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected