public class JacksonValueMapper extends Object implements ValueMapper, InputFieldDiscoveryStrategy
TYPE_METADATA_FIELD_NAME| Constructor and Description |
|---|
JacksonValueMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
fromInput(Object graphQlInput,
Type sourceType,
AnnotatedType outputType) |
<T> T |
fromString(String json,
AnnotatedType type) |
Set<InputField> |
getInputFields(AnnotatedType type) |
String |
toString(Object output) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromInputpublic JacksonValueMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public <T> T fromInput(Object graphQlInput, Type sourceType, AnnotatedType outputType)
fromInput in interface ValueMapperpublic <T> T fromString(String json, AnnotatedType type)
fromString in interface ValueMapperpublic String toString(Object output)
toString in interface ValueMapperpublic Set<InputField> getInputFields(AnnotatedType type)
getInputFields in interface InputFieldDiscoveryStrategyCopyright © 2016–2017. All rights reserved.