List of usage examples for com.google.gson ExclusionStrategy interface-usage
From source file org.wso2.carbon.apimgt.impl.wsdl.util.SwaggerFieldsExcludeStrategy.java
public class SwaggerFieldsExcludeStrategy implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes fieldAttributes) { return fieldAttributes.getName().equals("vendorExtensions"); }
From source file org.xwiki.eclipse.storage.utils.StorageUtils.java
class XEclipseExclusionStrategy implements ExclusionStrategy { private final Class<?> typeToSkip; public XEclipseExclusionStrategy(Class<?> typeToSkip) { this.typeToSkip = typeToSkip; }
From source file pl.bcichecki.rms.ws.rest.json.gson.exclusionStrategies.PasswordExclusionStrategy.java
/** * @author Bartosz Cichecki */ public class PasswordExclusionStrategy implements ExclusionStrategy { private Class<?> clazz;
From source file pl.datamatica.traccar.api.dtos.AnnotationExclusionStrategy.java
public class AnnotationExclusionStrategy implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes fa) { return fa.getAnnotation(JsonIgnore.class) != null; }
From source file pl.softech.gw.json.JsonExclusionStrategy.java
/** * * @author Sawomir led <slawomir.sledz@sof-tech.pl> * @since 1.0 */ public class JsonExclusionStrategy implements ExclusionStrategy {
From source file se.kth.hopsworks.zeppelin.server.JsonExclusionStrategy.java
/** * Created by eranw on 8/30/15. * Omit InterpreterOption from serialization */ public class JsonExclusionStrategy implements ExclusionStrategy {
From source file se.sperber.cryson.serialization.LazyAssociationExclusionStrategy.java
@Component public class LazyAssociationExclusionStrategy implements ExclusionStrategy { @Autowired private ReflectionHelper reflectionHelper;
From source file se.sperber.cryson.serialization.UserTypeExclusionStrategy.java
@Component public class UserTypeExclusionStrategy implements ExclusionStrategy { @Autowired private ReflectionHelper reflectionHelper;
From source file uk.ac.stfc.isis.ibex.epics.conversion.json.SpecificClassExclusionStrategy.java
/** * A specific class exclusion strategy. */ public class SpecificClassExclusionStrategy implements ExclusionStrategy { private final Class<?> excludedThisClass;
From source file utility.AnnotationExclusionStrategy.java
/** * * @author Luke */ public class AnnotationExclusionStrategy implements ExclusionStrategy {