public static final class StdArraySerializers.ShortArraySerializer extends StdArraySerializers.ArraySerializerBase<short[]>
JsonSerializer.None
_property, _valueTypeSerializer
_handledType
构造器和说明 |
---|
StdArraySerializers.ShortArraySerializer() |
StdArraySerializers.ShortArraySerializer(TypeSerializer vts) |
限定符和类型 | 方法和说明 |
---|---|
ContainerSerializerBase<?> |
_withValueTypeSerializer(TypeSerializer vts) |
JsonNode |
getSchema(SerializerProvider provider,
Type typeHint)
Note: since Jackson 1.9, default implementation claims type is "string"
|
void |
serializeContents(short[] value,
JsonGenerator jgen,
SerializerProvider provider) |
serialize, serializeWithType
withValueTypeSerializer
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
isUnwrappingSerializer, unwrappingSerializer
public StdArraySerializers.ShortArraySerializer()
public StdArraySerializers.ShortArraySerializer(TypeSerializer vts)
public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
_withValueTypeSerializer
在类中 ContainerSerializerBase<short[]>
public void serializeContents(short[] value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException
serializeContents
在类中 StdArraySerializers.ArraySerializerBase<short[]>
IOException
JsonGenerationException
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
SerializerBase
getSchema
在接口中 SchemaAware
getSchema
在类中 SerializerBase<short[]>
provider
- The serializer provider.typeHint
- A hint about the type.