V
- The generic type for valuespublic class ObjectNodeConvertibleValues<V> extends Object implements ConvertibleValues<V>
ObjectNode
to make it a ConvertibleValues
.EMPTY
Constructor and Description |
---|
ObjectNodeConvertibleValues(com.fasterxml.jackson.databind.node.ObjectNode 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, getValueType, isEmpty, iterator, of, subMap, subMap, subMap
get, get, get
forEach, spliterator
public ObjectNodeConvertibleValues(com.fasterxml.jackson.databind.node.ObjectNode 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