Class AbstractCustomJacksonSerializer<T>
java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<T>
com.graphql_java_generator.client.request.AbstractCustomJacksonSerializer<T>
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public abstract class AbstractCustomJacksonSerializer<T>
extends tools.jackson.databind.ser.std.StdSerializer<T>
Jackson Deserializer for lists and Custom Scalars.
- Author:
- etienne-sf
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Field Summary
Fields inherited from class tools.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCustomJacksonSerializer(Class<?> clazz, int listLevel, graphql.schema.GraphQLScalarType graphQLScalarType) -
Method Summary
Methods inherited from class tools.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class tools.jackson.databind.ValueSerializer
createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
AbstractCustomJacksonSerializer
public AbstractCustomJacksonSerializer(Class<?> clazz, int listLevel, graphql.schema.GraphQLScalarType graphQLScalarType) - Parameters:
graphQLScalarType- TheGraphQLScalarTypeinstance that manages this Custom Scalar. It's used to deserialize the value read on the Jackson response from the server It is mandatory for custom scalars, and must null for other data types.clazz- Theclass. It's a Class<?>because of issues with generics.listLevel- The depth of the GraphQL list. 0 means it's not a list. 1 is a standard list. 2 is a list of list...
-
-
Method Details