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