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