func (response AuthenticatorAttestationResponse) MarshalJSON() ([]byte, error) {
	type Override AuthenticatorAttestationResponse
	return json.Marshal(struct {
		Override
		ClientDataJSON    string `json:"clientDataJSON"`
		AttestationObject string `json:"attestationObject"`
	}{
		Override:          Override(response),
		ClientDataJSON:    toBase64URL(response.ClientDataJSON),
		AttestationObject: toBase64URL(response.AttestationObject),
	})
}
// MarshalJSON marshals the AuthenticatorAttestationResponse as JSON.
MarshalJSON marshals the AuthenticatorAttestationResponse as JSON.
// MarshalJSON marshals the AuthenticatorAttestationResponse as JSON .
func (response AuthenticatorAttestationResponse) MarshalJSON() ([]byte, error) {
	type Override AuthenticatorAttestationResponse
	return json.Marshal(struct {
		Override
		ClientDataJSON    string `json:"clientDataJSON"`
		AttestationObject string `json:"attestationObject"`
	}{
		Override:          Override(response),
		ClientDataJSON:    toBase64URL(response.ClientDataJSON),
		AttestationObject: toBase64URL(response.AttestationObject),
	})
}
func ( response AuthenticatorAttestationResponse ) MarshalJSON ( ) ( [ ] byte , error ) { type Override AuthenticatorAttestationResponse return json . Marshal ( struct { Override ClientDataJSON string `json:"clientDataJSON"` AttestationObject string `json:"attestationObject"` } { Override : Override ( response ) , ClientDataJSON : toBase64URL ( response . ClientDataJSON ) , AttestationObject : toBase64URL ( response . AttestationObject ) , } ) }
MarshalJSON marshals the AuthenticatorAttestationResponse as JSON.
MarshalJSON marshals the AuthenticatorAttestationResponse as JSON .