UnmarshalJSON implements the json.Unmarshaler interface.
(data []byte)
| 56 | |
| 57 | // UnmarshalJSON implements the json.Unmarshaler interface. |
| 58 | func (z *AccountAddress) UnmarshalJSON(data []byte) error { |
| 59 | return ((*hash.Hash)(z)).UnmarshalJSON(data) |
| 60 | } |
| 61 | |
| 62 | // MarshalJSON implements the json.Marshaler interface. |
| 63 | func (z AccountAddress) MarshalJSON() ([]byte, error) { |
no outgoing calls