public abstract class AnyGetterPropertySerializer<T> extends BeanPropertySerializer<T,Map>
propertyName| Constructor and Description |
|---|
AnyGetterPropertySerializer()
Constructor for AnyGetterPropertySerializer.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract MapJsonSerializer |
newSerializer()
newSerializer
|
void |
serialize(JsonWriter writer,
T bean,
JsonSerializationContext ctx)
Serializes the property defined for this instance.
|
void |
serializePropertyName(JsonWriter writer,
T bean,
JsonSerializationContext ctx)
Serializes the property name
|
getParameters, getPropertyName, getValue, newParametersgetSerializerpublic AnyGetterPropertySerializer()
Constructor for AnyGetterPropertySerializer.
protected abstract MapJsonSerializer newSerializer()
newSerializer
newSerializer in class HasSerializer<Map,JsonSerializer<Map>>MapJsonSerializer object.public void serializePropertyName(JsonWriter writer, T bean, JsonSerializationContext ctx)
serializePropertyName in class BeanPropertySerializer<T,Map>writer - writerbean - bean containing the property to serializectx - context of the serialization processpublic void serialize(JsonWriter writer, T bean, JsonSerializationContext ctx)
Serializes the property defined for this instance.
serialize in class BeanPropertySerializer<T,Map>writer - writerbean - bean containing the property to serializectx - context of the serialization processCopyright © 2020. All rights reserved.