use of org.eclipse.openvsx.json.AccessTokenJson in project openvsx by eclipse.
the class UserAPITest method accessTokenJson.
private String accessTokenJson(Consumer<AccessTokenJson> content) throws JsonProcessingException {
var json = new AccessTokenJson();
content.accept(json);
return new ObjectMapper().writeValueAsString(json);
}
Aggregations