func (credential *PublicKeyAssertionCredential) UnmarshalJSON(raw []byte) error {
	type Override PublicKeyAssertionCredential
	var override struct {
		Override
		RawID string `json:"rawId"`
	}
	err := json.Unmarshal(raw, &override)
	if err != nil {
		return err
	}

	*credential = PublicKeyAssertionCredential(override.Override)
	credential.RawID, err = fromBase64URL(override.RawID)
	return err
}
// UnmarshalJSON unmarshals the PublicKeyAssertionCredential from JSON.
UnmarshalJSON unmarshals the PublicKeyAssertionCredential from JSON.
// UnmarshalJSON unmarshals the PublicKeyAssertionCredential from JSON .
func (credential *PublicKeyAssertionCredential) UnmarshalJSON(raw []byte) error {
	type Override PublicKeyAssertionCredential
	var override struct {
		Override
		RawID string `json:"rawId"`
	}
	err := json.Unmarshal(raw, &override)
	if err != nil {
		return err
	}
	*credential = PublicKeyAssertionCredential(override.Override)
	credential.RawID, err = fromBase64URL(override.RawID)
	return err
}
func ( credential * PublicKeyAssertionCredential ) UnmarshalJSON ( raw [ ] byte ) error { type Override PublicKeyAssertionCredential var override struct { Override RawID string `json:"rawId"` } err := json . Unmarshal ( raw , & override ) if err != nil { return err } * credential = PublicKeyAssertionCredential ( override . Override ) credential . RawID , err = fromBase64URL ( override . RawID ) return err }
UnmarshalJSON unmarshals the PublicKeyAssertionCredential from JSON.
UnmarshalJSON unmarshals the PublicKeyAssertionCredential from JSON .