V
- The generic type for values@Internal public class JsonNodeConvertibleValues<V> extends Object implements ConvertibleValues<V>
JsonNode
to make it a ConvertibleValues
.EMPTY
Constructor and Description |
---|
JsonNodeConvertibleValues(JsonNode objectNode,
ConversionService<?> conversionService) |
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
get(CharSequence name,
ArgumentConversionContext<T> conversionContext)
Resolve the given property for the given name.
|
Set<String> |
names() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asMap, asMap, asProperties, contains, empty, forEach, getValue, getValueType, isEmpty, iterator, of, subMap, subMap, subMap
get, get, get
forEach, spliterator
public JsonNodeConvertibleValues(JsonNode objectNode, ConversionService<?> conversionService)
objectNode
- The node that maps to JSON object structureconversionService
- To convert the JSON node into given typepublic Set<String> names()
names
in interface ConvertibleValues<V>
public Collection<V> values()
values
in interface ConvertibleValues<V>
public <T> Optional<T> get(CharSequence name, ArgumentConversionContext<T> conversionContext)
ValueResolver
get
in interface ValueResolver<CharSequence>
T
- The concrete typename
- The nameconversionContext
- The conversion context