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>>, DelegatingOutputConverter<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) |
List<AnnotatedType> |
getDerivedTypes(AnnotatedType type) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
Returns the type to map instead of the original.
|
boolean |
supports(AnnotatedType type) |
toGraphQLInputType, toGraphQLTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTransparentpublic 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 List<AnnotatedType> getDerivedTypes(AnnotatedType type)
getDerivedTypes in interface DelegatingOutputConverter<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–2019. All rights reserved.