Going once... going twice!
This commit is contained in:
parent
9934a856dd
commit
bb53ee9567
14 changed files with 393 additions and 640 deletions
|
@ -48,7 +48,7 @@ func (m MAC) String() string {
|
|||
|
||||
// MarshalJSON marshals this MAC as a string
|
||||
func (m MAC) MarshalJSON() ([]byte, error) {
|
||||
return []byte(m.String()), nil
|
||||
return []byte("\"" + m.String() + "\""), nil
|
||||
}
|
||||
|
||||
// UnmarshalJSON unmarshals this MAC from a string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue