func (response AuthenticatorAssertionResponse) MarshalJSON() ([]byte, error) {
	type Override AuthenticatorAssertionResponse
	return json.Marshal(struct {
		Override
		ClientDataJSON    string  `json:"clientDataJSON"`
		AuthenticatorData string  `json:"authenticatorData"`
		Signature         string  `json:"signature"`
		UserHandle        *string `json:"userHandle"`
	}{
		Override:          Override(response),
		ClientDataJSON:    toBase64URL(response.ClientDataJSON),
		AuthenticatorData: toBase64URL(response.AuthenticatorData),
		Signature:         toBase64URL(response.Signature),
		UserHandle:        toNullableBase64URL(response.UserHandle),
	})
}
// MarshalJSON marshals the AuthenticatorAssertionResponse as JSON.
MarshalJSON marshals the AuthenticatorAssertionResponse as JSON.
// MarshalJSON marshals the AuthenticatorAssertionResponse as JSON .
func (response AuthenticatorAssertionResponse) MarshalJSON() ([]byte, error) {
	type Override AuthenticatorAssertionResponse
	return json.Marshal(struct {
		Override
		ClientDataJSON    string  `json:"clientDataJSON"`
		AuthenticatorData string  `json:"authenticatorData"`
		Signature         string  `json:"signature"`
		UserHandle        *string `json:"userHandle"`
	}{
		Override:          Override(response),
		ClientDataJSON:    toBase64URL(response.ClientDataJSON),
		AuthenticatorData: toBase64URL(response.AuthenticatorData),
		Signature:         toBase64URL(response.Signature),
		UserHandle:        toNullableBase64URL(response.UserHandle),
	})
}
func ( response AuthenticatorAssertionResponse ) MarshalJSON ( ) ( [ ] byte , error ) { type Override AuthenticatorAssertionResponse return json . Marshal ( struct { Override ClientDataJSON string `json:"clientDataJSON"` AuthenticatorData string `json:"authenticatorData"` Signature string `json:"signature"` UserHandle * string `json:"userHandle"` } { Override : Override ( response ) , ClientDataJSON : toBase64URL ( response . ClientDataJSON ) , AuthenticatorData : toBase64URL ( response . AuthenticatorData ) , Signature : toBase64URL ( response . Signature ) , UserHandle : toNullableBase64URL ( response . UserHandle ) , } ) }
MarshalJSON marshals the AuthenticatorAssertionResponse as JSON.
MarshalJSON marshals the AuthenticatorAssertionResponse as JSON .