func (as ApplicationStatus) MarshalJSON() ([]byte, error) {
	type Alias ApplicationStatus
	return json.Marshal(&struct {
		LegacyCharmVersion string `json:"charm-verion"`
		Alias
	}{
		LegacyCharmVersion: as.CharmVersion,
		Alias:              Alias(as),
	})
}
// MarshalJSON marshals a status with a typo left in for compatibility.
// TODO(wallyworld) - remove in Juju 3
MarshalJSON marshals a status with a typo left in for compatibility.
TODO(wallyworld) - remove in Juju 3
// MarshalJSON marshals a status with a typo left in for compatibility . // TODO ( wallyworld ) - remove in Juju 3
func (as ApplicationStatus) MarshalJSON() ([]byte, error) {
	type Alias ApplicationStatus
	return json.Marshal(&struct {
		LegacyCharmVersion string `json:"charm-verion"`
		Alias
	}{
		LegacyCharmVersion: as.CharmVersion,
		Alias:              Alias(as),
	})
}
func ( as ApplicationStatus ) MarshalJSON ( ) ( [ ] byte , error ) { type Alias ApplicationStatus return json . Marshal ( & struct { LegacyCharmVersion string `json:"charm-verion"` Alias } { LegacyCharmVersion : as . CharmVersion , Alias : Alias ( as ) , } ) }
MarshalJSON marshals a status with a typo left in for compatibility.
MarshalJSON marshals a status with a typo left in for compatibility .