'ups label generation with multiline address restful api

I am trying to generate a label with a multiline address.... the docs say the occurrence of AddressLine can appear three times. however this is invalid json and I am not sure how to go about it in GO.

Address: &ShipmentAddress{
        AddressLine: `Street Value \n Suite122`
        City:              "City",
        StateProvinceCode: "State",
        PostalCode:        "ZIP",
        CountryCode:       "COUNTRY",
    },

The above value does not work.

Docs



Solution 1:[1]

https://go.dev/play/p/10SZ63FSKAf

    fmt.Println(`This is a
multiline
string.`)
    fmt.Println("And this is a\nmultiline\nstring too!")

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 thrownew