public class JacksonValueMapper extends Object implements ValueMapper, InputFieldBuilder
TYPE_METADATA_FIELD_NAME| Modifier and Type | Method and Description |
|---|---|
protected Object |
defaultValue(AnnotatedType type,
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition prop,
AnnotatedType fieldType,
TypeTransformer typeTransformer,
GlobalEnvironment environment) |
<T> T |
fromInput(Object graphQLInput,
Type sourceType,
AnnotatedType outputType) |
<T> T |
fromString(String json,
AnnotatedType type) |
Set<InputField> |
getInputFields(InputFieldBuilderParams params) |
boolean |
supports(AnnotatedType type) |
String |
toString(Object output) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromInputpublic <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(InputFieldBuilderParams params)
getInputFields in interface InputFieldBuilderprotected Object defaultValue(AnnotatedType type, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition prop, AnnotatedType fieldType, TypeTransformer typeTransformer, GlobalEnvironment environment)
public boolean supports(AnnotatedType type)
supports in interface InputFieldBuilderCopyright © 2016–2018. All rights reserved.