Skip to content

Commit

Permalink
Do not use pretty printer
Browse files Browse the repository at this point in the history
  • Loading branch information
chris.ditcher authored and chris.ditcher committed Aug 4, 2023
1 parent d6908df commit 1a3fcaa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 1a3fcaa

Please sign in to comment.