MCPcopy Index your code
hub / github.com/github/gh-ost / ToJSON

Method ToJSON

go/mysql/instance_key_map.go:57–60  ·  view source on GitHub ↗

ToJSON will marshal this map as JSON

()

Source from the content-addressed store, hash-verified

55
56// ToJSON will marshal this map as JSON
57func (ikm *InstanceKeyMap) ToJSON() (string, error) {
58 bytes, err := ikm.MarshalJSON()
59 return string(bytes), err
60}
61
62// ToJSONString will marshal this map as JSON
63func (ikm *InstanceKeyMap) ToJSONString() string {

Callers 1

ToJSONStringMethod · 0.95

Calls 1

MarshalJSONMethod · 0.95

Tested by

no test coverage detected