Re: [webauthn] New PublicKeyCredential methods for JSON (de)serialization (#1703)

@emlun The `optionsFromJSON` method is defined on `PublicKeyCredential` rather than  e.g. `PublicKeyCredentialRequestOptions` as the latter is a dictionary rather than an interface.

I'd lean toward having the method take JSON text - this would both increase symmetry with the `toJSON()`method,  and allow us to declare the operation of the method in terms of prose rather than IDL.


-- 
GitHub Notification of comment by dwaite
Please view or discuss this issue at https://github.com/w3c/webauthn/pull/1703#issuecomment-1060881744 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 7 March 2022 16:29:54 UTC