V - The generic type for values@Internal
public class ObjectNodeConvertibleValues<V>
extends java.lang.Object
implements io.micronaut.core.convert.value.ConvertibleValues<V>
ObjectNode to make it a ConvertibleValues.| Constructor and Description |
|---|
ObjectNodeConvertibleValues(com.fasterxml.jackson.databind.node.ObjectNode objectNode,
io.micronaut.core.convert.ConversionService<?> conversionService) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) |
java.util.Set<java.lang.String> |
names() |
java.util.Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ObjectNodeConvertibleValues(com.fasterxml.jackson.databind.node.ObjectNode objectNode,
io.micronaut.core.convert.ConversionService<?> conversionService)
objectNode - The node that maps to JSON object structureconversionService - To convert the JSON node into given typepublic java.util.Set<java.lang.String> names()
names in interface io.micronaut.core.convert.value.ConvertibleValues<V>public java.util.Collection<V> values()
values in interface io.micronaut.core.convert.value.ConvertibleValues<V>public <T> java.util.Optional<T> get(java.lang.CharSequence name,
io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
get in interface io.micronaut.core.value.ValueResolver<java.lang.CharSequence>