Package org.camunda.bpm.engine.impl.json
Class JsonArrayOfObjectsConverter<T>
- java.lang.Object
-
- org.camunda.bpm.engine.impl.json.JsonArrayConverter<List<T>>
-
- org.camunda.bpm.engine.impl.json.JsonArrayOfObjectsConverter<T>
-
public class JsonArrayOfObjectsConverter<T> extends JsonArrayConverter<List<T>>
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected JsonObjectConverter<T>
objectConverter
-
Constructor Summary
Constructors Constructor Description JsonArrayOfObjectsConverter(JsonObjectConverter<T> objectConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonArray
toJsonArray(List<T> objects)
List<T>
toObject(com.google.gson.JsonArray jsonArray)
-
Methods inherited from class org.camunda.bpm.engine.impl.json.JsonArrayConverter
toJson
-
-
-
-
Field Detail
-
objectConverter
protected JsonObjectConverter<T> objectConverter
-
-
Constructor Detail
-
JsonArrayOfObjectsConverter
public JsonArrayOfObjectsConverter(JsonObjectConverter<T> objectConverter)
-
-
Method Detail
-
toJsonArray
public com.google.gson.JsonArray toJsonArray(List<T> objects)
- Specified by:
toJsonArray
in classJsonArrayConverter<List<T>>
-
-