Class StdArraySerializers
- java.lang.Object
-
- com.fasterxml.jackson.databind.ser.std.StdArraySerializers
-
public class StdArraySerializers extends Object
Dummy container class to group standard homogenous array serializer implementations (primitive arrays and String array).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdArraySerializers.BooleanArraySerializerstatic classStdArraySerializers.CharArraySerializerCharacter arrays are different from other integral number arrays in that they are most likely to be textual data, and should be written as Strings, not arrays of entries.static classStdArraySerializers.DoubleArraySerializerstatic classStdArraySerializers.FloatArraySerializerstatic classStdArraySerializers.IntArraySerializerstatic classStdArraySerializers.LongArraySerializerstatic classStdArraySerializers.ShortArraySerializerprotected static classStdArraySerializers.TypedPrimitiveArraySerializer<T>Intermediate base class used for cases where we may add type information (excludes boolean/int/double arrays).
-
Field Summary
Fields Modifier and Type Field Description protected static HashMap<String,JsonSerializer<?>>_arraySerializers
-
Constructor Summary
Constructors Modifier Constructor Description protectedStdArraySerializers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonSerializer<?>findStandardImpl(Class<?> cls)Accessor for checking to see if there is a standard serializer for given primitive value type.
-
-
-
Field Detail
-
_arraySerializers
protected static final HashMap<String,JsonSerializer<?>> _arraySerializers
-
-
Method Detail
-
findStandardImpl
public static JsonSerializer<?> findStandardImpl(Class<?> cls)
Accessor for checking to see if there is a standard serializer for given primitive value type.
-
-