code: public static JWSHeader deserialize(String json) throws IOException {
          ObjectMapper mapper = new ObjectMapper();
          return mapper.readValue(json, JWSHeader.class);
      }
docs: Construct JWSHeader from json string.
  
  @param json
  json string.
  
  @return Constructed JWSHeader