public class TaggedFieldSerializerConfig extends FieldSerializerConfig
| Constructor and Description |
|---|
TaggedFieldSerializerConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected TaggedFieldSerializerConfig |
clone() |
boolean |
isIgnoreUnknownTags() |
void |
setIgnoreUnknownTags(boolean ignoreUnknownTags)
Tells Kryo, if should ignore unknown field tags when using TaggedFieldSerializer.
|
getCachedFieldNameStrategy, isCopyTransient, isFieldsCanBeNull, isFixedFieldTypes, isIgnoreSyntheticFields, isOptimizedGenerics, isSerializeTransient, isSetFieldsAsAccessible, isUseAsm, setCachedFieldNameStrategy, setCopyTransient, setFieldsAsAccessible, setFieldsCanBeNull, setFixedFieldTypes, setIgnoreSyntheticFields, setOptimizedGenerics, setSerializeTransient, setUseAsmpublic void setIgnoreUnknownTags(boolean ignoreUnknownTags)
By default, Kryo will throw KryoException if encounters unknown field tags.
ignoreUnknownTags - if true, unknown field tags will be ignored. Otherwise KryoException will be thrownpublic boolean isIgnoreUnknownTags()
protected TaggedFieldSerializerConfig clone()
clone in class FieldSerializerConfigCopyright © 2016. All rights reserved.