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