code: def from_json(cls, key):
          
          obj = cls()
          try:
              jkey = json_decode(key)
          except Exception as e:  # pylint: disable=broad-except
              raise InvalidJWKValue(e)
          obj.import_key(**jkey)
          return obj
docs: Creates a RFC 7517 JWK from the standard JSON format.
  
          :param key: The RFC 7517 representation of a JWK.