When exporting to JSON export it with pretty text
This commit is contained in:
parent
0c443dfeba
commit
05e2374f97
|
@ -32,7 +32,7 @@ public class RDAManager {
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss Z"));
|
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss Z"));
|
||||||
|
|
||||||
result = mapper.writeValueAsString(rdaDmp);
|
result = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(rdaDmp);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue