T - type of elements@Api public class ArrayType<T> extends TypeBase<T[]> implements JsonSerializable<T[]>
TypeBase.Convert<A,T>NO_ALIASES| Modifier and Type | Method and Description |
|---|---|
T[] |
convert(String value)
Returns string value converted to Object of this type
|
T[] |
deserializeJson(com.fasterxml.jackson.databind.JsonNode json)
Deserializes given json node.
|
protected <I,O> O |
doReadAs(I value,
Class<I> in,
Class<O> out) |
Type<T> |
getElementType()
Returns type
Type of elements in this array type. |
boolean |
isInstance(Class<?> type)
Checks if given class instances will be considered an instance of this type
Type.isInstance(Object). |
String |
name()
Returns unqiue type name.
|
com.fasterxml.jackson.databind.JsonNode |
serializeJson(T[] value)
Serializes fiven value value and returns its json representation.
|
aliasType, defaultValue, isAssignable, isForceInstanceWhenReading, isInstance, javaType, read, readAs, setForceInstanceWhenReading, toStringpublic final Type<T> getElementType()
Type of elements in this array type.public boolean isInstance(Class<?> type)
TypeType.isInstance(Object).isInstance in interface Type<T[]>isInstance in class TypeBase<T[]>type - classpublic com.fasterxml.jackson.databind.JsonNode serializeJson(T[] value)
JsonSerializableserializeJson in interface JsonSerializable<T[]>value - valuepublic T[] deserializeJson(com.fasterxml.jackson.databind.JsonNode json)
JsonSerializabledeserializeJson in interface JsonSerializable<T[]>json - json nodeCopyright © 2020 Suncode. All rights reserved.