func (t *Version) UnmarshalJSON(b []byte) error {
	if len(b) > 2 && b[0] == '"' || b[0] == '\'' || b[0] == '`' {
		// We can ignore the closing because the JSON engine will throw an error on any mismatch for us.
		return t.Parse(string(b[1 : len(b)-1]))
	}
	return t.Parse(string(b))
}
// UnmarshalJSON implements the json.Unmarshaler interface.
UnmarshalJSON implements the json.Unmarshaler interface.
// UnmarshalJSON implements the json . Unmarshaler interface .
func (t *Version) UnmarshalJSON(b []byte) error {
	if len(b) > 2 && b[0] == '"' || b[0] == '\'' || b[0] == '`' {
		return t.Parse(string(b[1 : len(b)-1]))
	}
	return t.Parse(string(b))
}
func ( t * Version ) UnmarshalJSON ( b [ ] byte ) error { if len ( b ) > 2 && b [ 0 ] == '"' || b [ 0 ] == '\'' || b [ 0 ] == '`' { return t . Parse ( string ( b [ 1 : len ( b ) - 1 ] ) ) } return t . Parse ( string ( b ) ) }
UnmarshalJSON implements the json.Unmarshaler interface.
UnmarshalJSON implements the json . Unmarshaler interface .
// We can ignore the closing because the JSON engine will throw an error on any mismatch for us.