| Modifier and Type | Field and Description |
|---|---|
| protected PropertySerializerMap | |
| protected final BeanProperty | |
| protected final JavaType | |
| protected final ValueSerializer | |
| protected final TypeSerializer |
| Access | Constructor and Description |
|---|---|
| protected | PrimitiveRefMapSerializer(JavaType type, BeanProperty property, TypeSerializer vts, ValueSerializer<Object> valueSerializer)
|
| Modifier and Type | Method and Description |
|---|---|
| protected final ValueSerializer | |
| protected void | |
| public ValueSerializer | createContextual(SerializationContext ctxt, BeanProperty property)
Overrides tools. Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property (or, for root values, in which case `null` is passed). |
| protected abstract PrimitiveRefMapSerializer |
| _dynamicValueSerializers | back to summary |
|---|---|
| protected PropertySerializerMap _dynamicValueSerializers | |
| _property | back to summary |
|---|---|
| protected final BeanProperty _property | |
| _type | back to summary |
|---|---|
| protected final JavaType _type | |
| _valueSerializer | back to summary |
|---|---|
| protected final ValueSerializer<Object> _valueSerializer | |
| _valueTypeSerializer | back to summary |
|---|---|
| protected final TypeSerializer _valueTypeSerializer | |
| PrimitiveRefMapSerializer | back to summary |
|---|---|
| protected PrimitiveRefMapSerializer(JavaType type, BeanProperty property, TypeSerializer vts, ValueSerializer<Object> valueSerializer) | |
| _findAndAddDynamic | back to summary |
|---|---|
| protected final ValueSerializer | |
| _serializeValue | back to summary |
|---|---|
| protected void _serializeValue(V value, JsonGenerator gen, SerializationContext ctxt) throws JacksonException | |
| createContextual | back to summary |
|---|---|
| public ValueSerializer Overrides tools. Doc from tools. Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property (or, for root values, in which case `null` is passed). Note that instance that this method is called on is typically shared one and as a result method should NOT modify this instance but rather construct and return a new instance. This instance should only be returned as-is, in case it is already suitable for use. Note that method is only called once per POJO property, and for the first usage as root value serializer; it is not called for every serialization, as doing that would have significant performance impact; most serializers cache contextual instances for future use.
| |
| withResolved | back to summary |
|---|---|
| protected abstract PrimitiveRefMapSerializer | |