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