| Modifier and Type | Field and Description |
|---|---|
| protected final ValueSerializer | |
| protected final BeanProperty | |
| protected final JavaType |
| Access | Constructor and Description |
|---|---|
| protected | RefPrimitiveMapSerializer(JavaType type, BeanProperty property, ValueSerializer<Object> keySerializer)
|
| Modifier and Type | Method and Description |
|---|---|
| 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 RefPrimitiveMapSerializer |
| _keySerializer | back to summary |
|---|---|
| protected final ValueSerializer<Object> _keySerializer | |
| _property | back to summary |
|---|---|
| protected final BeanProperty _property | |
| _type | back to summary |
|---|---|
| protected final JavaType _type | |
| RefPrimitiveMapSerializer | back to summary |
|---|---|
| protected RefPrimitiveMapSerializer(JavaType type, BeanProperty property, ValueSerializer<Object> keySerializer) | |
| _serializeKey | back to summary |
|---|---|
| protected void _serializeKey(K key, 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 RefPrimitiveMapSerializer | |