Class IPRangeSerializer.AnyVersion
java.lang.Object
tools.jackson.databind.ValueSerializer<R>
com.github.robtimus.net.ip.jackson.databind.IPRangeSerializer<IPRange<?>>
com.github.robtimus.net.ip.jackson.databind.IPRangeSerializer.AnyVersion
- All Implemented Interfaces:
JsonFormatVisitable
- Enclosing class:
- IPRangeSerializer<R extends IPRange<?>>
- Author:
- Rob Spoor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.robtimus.net.ip.jackson.databind.IPRangeSerializer
IPRangeSerializer.AnyVersion, IPRangeSerializer.IPv4, IPRangeSerializer.IPv6Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
ValueSerializer.None -
Constructor Summary
ConstructorsConstructorDescriptionAnyVersion(IPAddressFormatter<? super IPAddress<?>> formatter) Creates a newIPRangeserializer. -
Method Summary
Methods inherited from class com.github.robtimus.net.ip.jackson.databind.IPRangeSerializer
serializeMethods inherited from class tools.jackson.databind.ValueSerializer
acceptJsonFormatVisitor, createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
AnyVersion
Creates a newIPRangeserializer.- Parameters:
formatter- The formatter to use for the from and to addresses. Ifnull,IPAddress.toString()will be used instead.
-
-
Method Details
-
handledType
- Specified by:
handledTypein classIPRangeSerializer<IPRange<?>>
-