@Test void convert_test() { String source = "{\"appid\":\"dummy\"}"; AuthenticationExtensionsClientInputs<AuthenticationExtensionClientInput> clientInputs = authenticationExtensionsClientInputsConverter.convert(source); assertThat(clientInputs.getExtension(FIDOAppIDExtensionClientInput.class)).isEqualTo(new FIDOAppIDExtensionClientInput("dummy")); }
public <T extends ExtensionClientInput> AuthenticationExtensionsClientInputs<T> convert(String value) { if (value == null) { return null; } return jsonConverter.readValue(value, new TypeReference<AuthenticationExtensionsClientInputs<T>>() {}); }
AuthenticationExtensionsClientInputsConverter { public <T extends ExtensionClientInput> AuthenticationExtensionsClientInputs<T> convert(String value) { if (value == null) { return null; } return jsonConverter.readValue(value, new TypeReference<AuthenticationExtensionsClientInputs<T>>() {}); } }
AuthenticationExtensionsClientInputsConverter { public <T extends ExtensionClientInput> AuthenticationExtensionsClientInputs<T> convert(String value) { if (value == null) { return null; } return jsonConverter.readValue(value, new TypeReference<AuthenticationExtensionsClientInputs<T>>() {}); } AuthenticationExtensionsClientInputsConverter(ObjectConverter objectConverter); }
AuthenticationExtensionsClientInputsConverter { public <T extends ExtensionClientInput> AuthenticationExtensionsClientInputs<T> convert(String value) { if (value == null) { return null; } return jsonConverter.readValue(value, new TypeReference<AuthenticationExtensionsClientInputs<T>>() {}); } AuthenticationExtensionsClientInputsConverter(ObjectConverter objectConverter); AuthenticationExtensionsClientInputs<T> convert(String value); String convertToString(AuthenticationExtensionsClientInputs<T> value); }
AuthenticationExtensionsClientInputsConverter { public <T extends ExtensionClientInput> AuthenticationExtensionsClientInputs<T> convert(String value) { if (value == null) { return null; } return jsonConverter.readValue(value, new TypeReference<AuthenticationExtensionsClientInputs<T>>() {}); } AuthenticationExtensionsClientInputsConverter(ObjectConverter objectConverter); AuthenticationExtensionsClientInputs<T> convert(String value); String convertToString(AuthenticationExtensionsClientInputs<T> value);  }