public final class JsonSerializerParameters
extends java.lang.Object
JsonFormat. They are specific to one
JsonSerializer and that's why they are not contained inside JsonSerializationContext.
For container serializers like IterableJsonSerializer, these parameters are passed to the value serializer.
| Modifier and Type | Field and Description |
|---|---|
static JsonSerializerParameters |
DEFAULT |
| Constructor and Description |
|---|
JsonSerializerParameters() |
| Modifier and Type | Method and Description |
|---|---|
JsonSerializerParameters |
addIgnoredProperty(java.lang.String ignoredProperty) |
IdentitySerializationInfo |
getIdentityInfo() |
java.util.Set<java.lang.String> |
getIgnoredProperties() |
com.fasterxml.jackson.annotation.JsonInclude.Include |
getInclude() |
java.lang.String |
getLocale() |
java.lang.String |
getPattern() |
com.fasterxml.jackson.annotation.JsonFormat.Shape |
getShape() |
com.google.gwt.i18n.client.TimeZone |
getTimezone() |
TypeSerializationInfo |
getTypeInfo() |
boolean |
isUnwrapped() |
JsonSerializerParameters |
setIdentityInfo(IdentitySerializationInfo identityInfo) |
JsonSerializerParameters |
setInclude(com.fasterxml.jackson.annotation.JsonInclude.Include include) |
JsonSerializerParameters |
setLocale(java.lang.String locale) |
JsonSerializerParameters |
setPattern(java.lang.String pattern) |
JsonSerializerParameters |
setShape(com.fasterxml.jackson.annotation.JsonFormat.Shape shape) |
JsonSerializerParameters |
setTimezone(com.google.gwt.i18n.client.TimeZone timezone) |
JsonSerializerParameters |
setTypeInfo(TypeSerializationInfo typeInfo) |
JsonSerializerParameters |
setUnwrapped(boolean unwrapped) |
public static final JsonSerializerParameters DEFAULT
public java.lang.String getPattern()
public JsonSerializerParameters setPattern(java.lang.String pattern)
public com.fasterxml.jackson.annotation.JsonFormat.Shape getShape()
public JsonSerializerParameters setShape(com.fasterxml.jackson.annotation.JsonFormat.Shape shape)
public java.lang.String getLocale()
public JsonSerializerParameters setLocale(java.lang.String locale)
public com.google.gwt.i18n.client.TimeZone getTimezone()
public JsonSerializerParameters setTimezone(com.google.gwt.i18n.client.TimeZone timezone)
public java.util.Set<java.lang.String> getIgnoredProperties()
public JsonSerializerParameters addIgnoredProperty(java.lang.String ignoredProperty)
public com.fasterxml.jackson.annotation.JsonInclude.Include getInclude()
public JsonSerializerParameters setInclude(com.fasterxml.jackson.annotation.JsonInclude.Include include)
public IdentitySerializationInfo getIdentityInfo()
public JsonSerializerParameters setIdentityInfo(IdentitySerializationInfo identityInfo)
public TypeSerializationInfo getTypeInfo()
public JsonSerializerParameters setTypeInfo(TypeSerializationInfo typeInfo)
public boolean isUnwrapped()
public JsonSerializerParameters setUnwrapped(boolean unwrapped)
Copyright © 2015. All Rights Reserved.