.beginArray();
for (Issue issue : issueCache.byModule(def.getKey())) {
jsonWriter.beginObject()
.prop("repository", issue.ruleKey().repository())
.prop("rule", issue.ruleKey().rule());
InputPath inputPath = issue.inputPath();
if (inputPath != null) {
jsonWriter.prop("path", inputPath.relativePath());
}
jsonWriter.prop("message", issue.message())
.prop("effortToFix", issue.effortToFix())
.prop("line", issue.line());
Severity overridenSeverity = issue.overridenSeverity();