Package com.diffplug.spotless.json.gson
Class GsonConfig
java.lang.Object
com.diffplug.spotless.json.gson.GsonConfig
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGsonConfig
(boolean sortByKeys, boolean escapeHtml, int indentSpaces, String version) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
void
setEscapeHtml
(boolean escapeHtml) void
setIndentSpaces
(int indentSpaces) void
setSortByKeys
(boolean sortByKeys) void
setVersion
(String version)
-
Constructor Details
-
GsonConfig
-
-
Method Details
-
isSortByKeys
public boolean isSortByKeys() -
setSortByKeys
public void setSortByKeys(boolean sortByKeys) -
isEscapeHtml
public boolean isEscapeHtml() -
setEscapeHtml
public void setEscapeHtml(boolean escapeHtml) -
getIndentSpaces
public int getIndentSpaces() -
setIndentSpaces
public void setIndentSpaces(int indentSpaces) -
getVersion
-
setVersion
-