func (bd *BundleData) UnmarshalJSON(b []byte) error {
	var bdc legacyBundleData
	if err := json.Unmarshal(b, &bdc); err != nil {
		return err
	}
	return bdc.setBundleData(bd)
}
// UnmarshalJSON implements the json.Unmarshaler interface.
UnmarshalJSON implements the json.Unmarshaler interface.
// UnmarshalJSON implements the json . Unmarshaler interface .
func (bd *BundleData) UnmarshalJSON(b []byte) error {
	var bdc legacyBundleData
	if err := json.Unmarshal(b, &bdc); err != nil {
		return err
	}
	return bdc.setBundleData(bd)
}
func ( bd * BundleData ) UnmarshalJSON ( b [ ] byte ) error { var bdc legacyBundleData if err := json . Unmarshal ( b , & bdc ) ; err != nil { return err } return bdc . setBundleData ( bd ) }
UnmarshalJSON implements the json.Unmarshaler interface.
UnmarshalJSON implements the json . Unmarshaler interface .