dumb-jose/jwk
Aydin Mercan 67699f4a7c
jwk, internal/publickey: unmarshal -> decode
Currently encoding/json accepts duplicate fields in the json.
Since https://github.com/golang/go/issues/48298 got accepted,
we should use the decoder interface with Decoder.DisallowDuplicateFields
turned on when available. Its exact behavior will determine whether
json.RawMessage's will be re-unmarshaled or will follow the byte reader
path.
2021-12-04 10:55:00 +03:00
..
jwk.go jwk, internal/publickey: unmarshal -> decode 2021-12-04 10:55:00 +03:00
jwk_test.go jwk, internal/publickey: unmarshal -> decode 2021-12-04 10:55:00 +03:00