JSONCompareResult jsonCompareResult = null;
try {
jsonCompareResult = compareJSON(matcher, matched, JSONCompareMode.LENIENT);
if (jsonCompareResult.passed()) {
result = true;
}
if (!result) {
logger.trace("Failed to perform JSON match [{}] with [{}] because {}", matched, this.matcher, jsonCompareResult.getMessage());