Class ApiAutomateJsonSerializer
- java.lang.Object
-
- com.github.silent.samurai.serializers.ApiAutomateJsonSerializer
-
public class ApiAutomateJsonSerializer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intMULTIPLE_ENTITYstatic intSINGLE_ENTITY
-
Constructor Summary
Constructors Constructor Description ApiAutomateJsonSerializer(JpaMetaModel jpaMetaModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonArrayformCollection(Collection<?> collection, int serializedType)com.google.gson.JsonObjectfromObject(Object entityObject, Class<?> clazz, int serializedType)
-
-
-
Constructor Detail
-
ApiAutomateJsonSerializer
public ApiAutomateJsonSerializer(JpaMetaModel jpaMetaModel)
-
-
Method Detail
-
fromObject
public com.google.gson.JsonObject fromObject(Object entityObject, Class<?> clazz, int serializedType) throws InvocationTargetException, IllegalAccessException
-
formCollection
public com.google.gson.JsonArray formCollection(Collection<?> collection, int serializedType) throws InvocationTargetException, IllegalAccessException
-
-