func (credential PublicKeyAssertionCredential) MarshalJSON() ([]byte, error) {
	type Override PublicKeyAssertionCredential
	return json.Marshal(struct {
		Override
		RawID string `json:"rawId"`
	}{
		Override: Override(credential),
		RawID:    toBase64URL(credential.RawID),
	})
}
// MarshalJSON marshals the PublicKeyAssertionCredential as JSON.
MarshalJSON marshals the PublicKeyAssertionCredential as JSON.
// MarshalJSON marshals the PublicKeyAssertionCredential as JSON .
func (credential PublicKeyAssertionCredential) MarshalJSON() ([]byte, error) {
	type Override PublicKeyAssertionCredential
	return json.Marshal(struct {
		Override
		RawID string `json:"rawId"`
	}{
		Override: Override(credential),
		RawID:    toBase64URL(credential.RawID),
	})
}
func ( credential PublicKeyAssertionCredential ) MarshalJSON ( ) ( [ ] byte , error ) { type Override PublicKeyAssertionCredential return json . Marshal ( struct { Override RawID string `json:"rawId"` } { Override : Override ( credential ) , RawID : toBase64URL ( credential . RawID ) , } ) }
MarshalJSON marshals the PublicKeyAssertionCredential as JSON.
MarshalJSON marshals the PublicKeyAssertionCredential as JSON .