Package com.diffplug.spotless.json.gson
Class GsonConfig
- java.lang.Object
-
- com.diffplug.spotless.json.gson.GsonConfig
-
- All Implemented Interfaces:
Serializable
public class GsonConfig extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GsonConfig(boolean sortByKeys, boolean escapeHtml, int indentSpaces, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndentSpaces()
String
getVersion()
boolean
isEscapeHtml()
boolean
isSortByKeys()
void
setEscapeHtml(boolean escapeHtml)
void
setIndentSpaces(int indentSpaces)
void
setSortByKeys(boolean sortByKeys)
void
setVersion(String version)
-
-
-
Constructor Detail
-
GsonConfig
public GsonConfig(boolean sortByKeys, boolean escapeHtml, int indentSpaces, String version)
-
-
Method Detail
-
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
public String getVersion()
-
setVersion
public void setVersion(String version)
-
-