rsanchez
2014-10-22 ffc60638fba7475b4cb6a863aa8f27c7e5a9b059
src/main/java/net/curisit/securis/ReqGenerator.java
....@@ -65,7 +65,7 @@
6565 public void save(RequestBean req, File file) throws SeCurisException {
6666 byte[] json;
6767 try {
68
- json = JsonUtils.toJSON(req, true).getBytes("utf-8");
68
+ json = JsonUtils.toPrettyJSON(req).getBytes("utf-8");
6969 Files.write(Paths.get(file.toURI()), json, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
7070 } catch (UnsupportedEncodingException e) {
7171 LOG.error("Error creating json doc from request: " + req, e);