Class QtafGsonExclusionStrategy
java.lang.Object
de.qytera.qtaf.core.gson.strategy.QtafGsonExclusionStrategy
- All Implemented Interfaces:
com.google.gson.ExclusionStrategy
This class defines which classes or fields should be ignored by JSON.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldSkipClass(Class<?> aClass) booleanshouldSkipField(com.google.gson.FieldAttributes fieldAttributes)
-
Constructor Details
-
QtafGsonExclusionStrategy
public QtafGsonExclusionStrategy()
-
-
Method Details
-
shouldSkipField
public boolean shouldSkipField(com.google.gson.FieldAttributes fieldAttributes) - Specified by:
shouldSkipFieldin interfacecom.google.gson.ExclusionStrategy
-
shouldSkipClass
- Specified by:
shouldSkipClassin interfacecom.google.gson.ExclusionStrategy
-