Disable Gson pretty printing
| | |
| | | - Use standard ServletRequestWrapper instead of custom wrapper (issue 224)
|
| | |
|
| | | changes:
|
| | | - Disable Gson's pretty printing which has a huge performance gain
|
| | | - Updated Polish translation
|
| | |
|
| | | additions:
|
| | |
| | | GsonBuilder builder = new GsonBuilder();
|
| | | builder.registerTypeAdapter(Date.class, new GmtDateTypeAdapter());
|
| | | builder.registerTypeAdapter(AccessPermission.class, new AccessPermissionTypeAdapter());
|
| | | builder.setPrettyPrinting();
|
| | | if (!ArrayUtils.isEmpty(strategies)) {
|
| | | builder.setExclusionStrategies(strategies);
|
| | | }
|