Package org.camunda.bpm.engine.impl.json
Class JsonArrayOfObjectsConverter<T>
- java.lang.Object
-
- org.camunda.bpm.engine.impl.json.JsonArrayConverter<java.util.List<T>>
-
- org.camunda.bpm.engine.impl.json.JsonArrayOfObjectsConverter<T>
-
public class JsonArrayOfObjectsConverter<T> extends JsonArrayConverter<java.util.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(java.util.List<T> objects)
java.util.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(java.util.List<T> objects)
- Specified by:
toJsonArray
in classJsonArrayConverter<java.util.List<T>>
-
toObject
public java.util.List<T> toObject(com.google.gson.JsonArray jsonArray)
- Specified by:
toObject
in classJsonArrayConverter<java.util.List<T>>
-
-