Class IPRangeDeserializer.AnyVersion

java.lang.Object
tools.jackson.databind.ValueDeserializer<R>
com.github.robtimus.net.ip.jackson.databind.IPRangeDeserializer<IPRange<?>>
com.github.robtimus.net.ip.jackson.databind.IPRangeDeserializer.AnyVersion
All Implemented Interfaces:
NullValueProvider
Enclosing class:
IPRangeDeserializer<R extends IPRange<?>>

public static class IPRangeDeserializer.AnyVersion extends IPRangeDeserializer<IPRange<?>>
A deserializer for IPRange. It can handle both IPv4Range and IPv6Range. If a property is declared as either IPRange<IPv4Address> or IPRange<IPv6Address>, it will limit the deserialization to only the specified type. In other words, trying to deserialize an IPv6 range for a property of type IPRange<IPv4Address> or vice versa will fail.
Author:
Rob Spoor