// MarshalToJSONWithURLs marshals a struct to json with URLs in `links`
MarshalToJSONWithURLs marshals a struct to json with URLs in `links`
// MarshalToJSONWithURLs marshals a struct to json with URLs in ` links `
func MarshalToJSONWithURLs(val interface{}, information ServerInformation) ([]byte, error) {
	result, err := MarshalWithURLs(val, information)
	if err != nil {
		return []byte{}, err
	}
	return json.Marshal(result)
}
func MarshalToJSONWithURLs ( val interface { } , information ServerInformation ) ( [ ] byte , error ) { result , err := MarshalWithURLs ( val , information ) if err != nil { return [ ] byte { } , err } return json . Marshal ( result ) }
MarshalToJSONWithURLs marshals a struct to json with URLs in `links`
MarshalToJSONWithURLs marshals a struct to json with URLs in ` links `