// UnmarshalJSON parses JSON string into url.URL
UnmarshalJSON parses JSON string into url.URL
// UnmarshalJSON parses JSON string into url . URL
func (u *URL) UnmarshalJSON(p []byte) error {
	nu, err := url.Parse(string(bytes.Trim(p, `"`)))
	if err != nil {
		return err
	}
	(*u) = URL(*nu)
	return nil
}
func ( u * URL ) UnmarshalJSON ( p [ ] byte ) error { nu , err := url . Parse ( string ( bytes . Trim ( p , `"` ) ) ) if err != nil { return err } ( * u ) = URL ( * nu ) return nil }
UnmarshalJSON parses JSON string into url.URL
UnmarshalJSON parses JSON string into url . URL