org.spincast.plugins.jacksonjson.SpincastJsonManagerConfigDefault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-plugins-jackson-json Show documentation
Show all versions of spincast-plugins-jackson-json Show documentation
The default Spincast Jackson Json plugin
package org.spincast.plugins.jacksonjson;
/**
* Default configuration for the Spincast Json Manager plugin.
*/
public class SpincastJsonManagerConfigDefault implements SpincastJsonManagerConfig {
@Override
public int getPrettyPrinterIndentationSpaceNumber() {
return 4;
}
@Override
public String getPrettyPrinterNewlineChars() {
return "\n";
}
@Override
public boolean isSerializeEnumsToNameAndLabelObjects() {
return true;
}
}