package hypr import "encoding/json" type Point struct { X int `json:"x"` Y int `json:"y"` } func (p Point) String() string { data, _ := json.MarshalIndent(p, "", "\t") return string(data) }