MCPcopy
hub / github.com/github/gh-ost / MarshalJSON

Method MarshalJSON

go/mysql/instance_key_map.go:52–54  ·  view source on GitHub ↗

MarshalJSON will marshal this map as JSON

()

Source from the content-addressed store, hash-verified

50
51// MarshalJSON will marshal this map as JSON
52func (ikm *InstanceKeyMap) MarshalJSON() ([]byte, error) {
53 return json.Marshal(ikm.GetInstanceKeys())
54}
55
56// ToJSON will marshal this map as JSON
57func (ikm *InstanceKeyMap) ToJSON() (string, error) {

Callers 1

ToJSONMethod · 0.95

Calls 1

GetInstanceKeysMethod · 0.95

Tested by

no test coverage detected