diff --git a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/util/JsonTransformer.java b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/util/JsonTransformer.java index 1c616bd5..822311b8 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/util/JsonTransformer.java +++ b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/util/JsonTransformer.java @@ -114,10 +114,10 @@ public Object unmarshall(InputStream input, Class clazz) { @Override public String marshall(Object input) { - ObjectWriter prettyPrinter = objectMapper.writerWithDefaultPrettyPrinter(); + //ObjectWriter prettyPrinter = objectMapper.writerWithDefaultPrettyPrinter(); String result = null; try { - result = prettyPrinter.writeValueAsString(input); + result = objectMapper.writeValueAsString(input); } catch (IOException e) { log.error("Unable to marshall object {}", input.toString()); }