public class JsonArrayOfObjectsConverter<T> extends JsonArrayConverter<List<T>>
Modifier and Type | Field and Description |
---|---|
protected JsonObjectConverter<T> |
objectConverter |
Constructor and Description |
---|
JsonArrayOfObjectsConverter(JsonObjectConverter<T> objectConverter) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonArray |
toJsonArray(List<T> objects) |
List<T> |
toObject(com.google.gson.JsonArray jsonArray) |
toJson
protected JsonObjectConverter<T> objectConverter
public JsonArrayOfObjectsConverter(JsonObjectConverter<T> objectConverter)
public com.google.gson.JsonArray toJsonArray(List<T> objects)
toJsonArray
in class JsonArrayConverter<List<T>>
Copyright © 2021. All rights reserved.