Interface ValueMapper
-
- All Known Implementing Classes:
GsonValueMapper
,JacksonValueMapper
public interface ValueMapper
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_METADATA_FIELD_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> T
fromInput(Object graphQlInput, AnnotatedType type)
<T> T
fromInput(Object graphQLInput, Type sourceType, AnnotatedType outputType)
<T> T
fromString(String json, AnnotatedType type)
String
toString(Object output, AnnotatedType type)
-
-
-
Field Detail
-
TYPE_METADATA_FIELD_NAME
static final String TYPE_METADATA_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromInput
default <T> T fromInput(Object graphQlInput, AnnotatedType type)
-
fromInput
<T> T fromInput(Object graphQLInput, Type sourceType, AnnotatedType outputType) throws InputParsingException
- Throws:
InputParsingException
-
fromString
<T> T fromString(String json, AnnotatedType type) throws InputParsingException
- Throws:
InputParsingException
-
toString
String toString(Object output, AnnotatedType type)
-
-