public class JsonArrayAdapter extends AbstractTypeSubstitutingMapper<List<com.fasterxml.jackson.databind.JsonNode>> implements InputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List<com.fasterxml.jackson.databind.JsonNode>>, OutputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List>
substituteType| Constructor and Description |
|---|
JsonArrayAdapter() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ArrayNode |
convertInput(List<com.fasterxml.jackson.databind.JsonNode> substitute,
AnnotatedType type,
GlobalEnvironment environment,
ValueMapper valueMapper) |
List |
convertOutput(com.fasterxml.jackson.databind.node.ArrayNode original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
Returns the type to map instead of the original.
|
boolean |
supports(AnnotatedType type) |
toGraphQLInputType, toGraphQLTypepublic com.fasterxml.jackson.databind.node.ArrayNode convertInput(List<com.fasterxml.jackson.databind.JsonNode> substitute, AnnotatedType type, GlobalEnvironment environment, ValueMapper valueMapper)
convertInput in interface InputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List<com.fasterxml.jackson.databind.JsonNode>>public AnnotatedType getSubstituteType(AnnotatedType original)
AbstractTypeSubstitutingMapperS.getSubstituteType in interface InputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List<com.fasterxml.jackson.databind.JsonNode>>getSubstituteType in interface TypeSubstitutergetSubstituteType in class AbstractTypeSubstitutingMapper<List<com.fasterxml.jackson.databind.JsonNode>>original - The type to be replacedpublic List convertOutput(com.fasterxml.jackson.databind.node.ArrayNode original, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
convertOutput in interface OutputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List>public boolean supports(AnnotatedType type)
supports in interface InputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List<com.fasterxml.jackson.databind.JsonNode>>supports in interface OutputConverter<com.fasterxml.jackson.databind.node.ArrayNode,List>supports in interface TypeMapperCopyright © 2016–2018. All rights reserved.