public class PrimitiveIntegerArray2dJsonSerializer extends JsonSerializer<int[][]>
JsonSerializer implementation for 2D array of int.| Modifier and Type | Method and Description |
|---|---|
void |
doSerialize(JsonWriter writer,
int[][] values,
JsonSerializationContext ctx,
JsonSerializerParameters params)
Serializes a non-null object into JSON output.
|
static PrimitiveIntegerArray2dJsonSerializer |
getInstance() |
protected boolean |
isEmpty(int[][] value) |
isDefault, serialize, serialize, serializeNullValuepublic static PrimitiveIntegerArray2dJsonSerializer getInstance()
PrimitiveIntegerArray2dJsonSerializerprotected boolean isEmpty(@Nullable int[][] value)
isEmpty in class JsonSerializer<int[][]>public void doSerialize(JsonWriter writer, @Nonnull int[][] values, JsonSerializationContext ctx, JsonSerializerParameters params)
JsonSerializerdoSerialize in class JsonSerializer<int[][]>writer - JsonWriter used to write the serialized JSONvalues - Object to serializectx - Context for the full serialization processparams - Parameters for this serializationCopyright © 2016. All Rights Reserved.