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 |
---|---|
JSONArray |
toJsonArray(List<T> objects) |
List<T> |
toObject(JSONArray jsonArray) |
toJson
protected JsonObjectConverter<T> objectConverter
public JsonArrayOfObjectsConverter(JsonObjectConverter<T> objectConverter)
public JSONArray toJsonArray(List<T> objects)
toJsonArray
in class JsonArrayConverter<List<T>>
Copyright © 2019. All rights reserved.