func (response *AuthenticatorAssertionResponse) UnmarshalJSON(raw []byte) error {
	type Override AuthenticatorAssertionResponse
	var override struct {
		Override
		ClientDataJSON    string  `json:"clientDataJSON"`
		AuthenticatorData string  `json:"authenticatorData"`
		Signature         string  `json:"signature"`
		UserHandle        *string `json:"userHandle"`
	}
	err := json.Unmarshal(raw, &override)
	if err != nil {
		return err
	}

	*response = AuthenticatorAssertionResponse(override.Override)
	response.ClientDataJSON, err = fromBase64URL(override.ClientDataJSON)
	if err != nil {
		return err
	}
	response.AuthenticatorData, err = fromBase64URL(override.AuthenticatorData)
	if err != nil {
		return err
	}
	response.Signature, err = fromBase64URL(override.Signature)
	if err != nil {
		return err
	}
	response.UserHandle, err = fromNullableBase64URL(override.UserHandle)
	if err != nil {
		return err
	}
	return nil
}
// UnmarshalJSON unmarshals the AuthenticatorAssertionResponse from JSON.
UnmarshalJSON unmarshals the AuthenticatorAssertionResponse from JSON.
// UnmarshalJSON unmarshals the AuthenticatorAssertionResponse from JSON .
func (response *AuthenticatorAssertionResponse) UnmarshalJSON(raw []byte) error {
	type Override AuthenticatorAssertionResponse
	var override struct {
		Override
		ClientDataJSON    string  `json:"clientDataJSON"`
		AuthenticatorData string  `json:"authenticatorData"`
		Signature         string  `json:"signature"`
		UserHandle        *string `json:"userHandle"`
	}
	err := json.Unmarshal(raw, &override)
	if err != nil {
		return err
	}
	*response = AuthenticatorAssertionResponse(override.Override)
	response.ClientDataJSON, err = fromBase64URL(override.ClientDataJSON)
	if err != nil {
		return err
	}
	response.AuthenticatorData, err = fromBase64URL(override.AuthenticatorData)
	if err != nil {
		return err
	}
	response.Signature, err = fromBase64URL(override.Signature)
	if err != nil {
		return err
	}
	response.UserHandle, err = fromNullableBase64URL(override.UserHandle)
	if err != nil {
		return err
	}
	return nil
}
func ( response * AuthenticatorAssertionResponse ) UnmarshalJSON ( raw [ ] byte ) error { type Override AuthenticatorAssertionResponse var override struct { Override ClientDataJSON string `json:"clientDataJSON"` AuthenticatorData string `json:"authenticatorData"` Signature string `json:"signature"` UserHandle * string `json:"userHandle"` } err := json . Unmarshal ( raw , & override ) if err != nil { return err } * response = AuthenticatorAssertionResponse ( override . Override ) response . ClientDataJSON , err = fromBase64URL ( override . ClientDataJSON ) if err != nil { return err } response . AuthenticatorData , err = fromBase64URL ( override . AuthenticatorData ) if err != nil { return err } response . Signature , err = fromBase64URL ( override . Signature ) if err != nil { return err } response . UserHandle , err = fromNullableBase64URL ( override . UserHandle ) if err != nil { return err } return nil }
UnmarshalJSON unmarshals the AuthenticatorAssertionResponse from JSON.
UnmarshalJSON unmarshals the AuthenticatorAssertionResponse from JSON .