@ConfigurationProperties(prefix="spring.gson") public class GsonProperties extends Object
Gson
.Constructor and Description |
---|
GsonProperties() |
public Boolean getGenerateNonExecutableJson()
public void setGenerateNonExecutableJson(Boolean generateNonExecutableJson)
public Boolean getExcludeFieldsWithoutExposeAnnotation()
public void setExcludeFieldsWithoutExposeAnnotation(Boolean excludeFieldsWithoutExposeAnnotation)
public Boolean getSerializeNulls()
public void setSerializeNulls(Boolean serializeNulls)
public Boolean getEnableComplexMapKeySerialization()
public void setEnableComplexMapKeySerialization(Boolean enableComplexMapKeySerialization)
public Boolean getDisableInnerClassSerialization()
public void setDisableInnerClassSerialization(Boolean disableInnerClassSerialization)
public com.google.gson.LongSerializationPolicy getLongSerializationPolicy()
public void setLongSerializationPolicy(com.google.gson.LongSerializationPolicy longSerializationPolicy)
public com.google.gson.FieldNamingPolicy getFieldNamingPolicy()
public void setFieldNamingPolicy(com.google.gson.FieldNamingPolicy fieldNamingPolicy)
public Boolean getPrettyPrinting()
public void setPrettyPrinting(Boolean prettyPrinting)
public Boolean getLenient()
public void setLenient(Boolean lenient)
public Boolean getDisableHtmlEscaping()
public void setDisableHtmlEscaping(Boolean disableHtmlEscaping)
public String getDateFormat()
public void setDateFormat(String dateFormat)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.