List of usage examples for com.google.gson ExclusionStrategy interface-usage
From source file net.es.sense.rm.api.JsonExclusionStrategy.java
/** * * @author hacksaw */ public class JsonExclusionStrategy implements ExclusionStrategy { @Override
From source file net.es.sense.rm.driver.nsi.db.JsonExclusionStrategy.java
/** * * @author hacksaw */ public class JsonExclusionStrategy implements ExclusionStrategy { @Override
From source file net.joinedminds.masserr.api.serialization.NoObjectIdExclusionStrategy.java
/** * Description * * @author Robert Sandell <sandell.robert@gmail.com> */ public class NoObjectIdExclusionStrategy implements ExclusionStrategy {
From source file net.ljcomputing.gson.strategy.ExcludeFromJsonAnnotationExclusionStrategy.java
/**
* Exclude from Json annotation Gson exclusion strategy.
*
* @author James G. Willmore
*
*/
From source file nl.binaryimpact.showcase.json.GeneratedIdExclusionStrategy.java
/** * Generated id fields should have the name <code>_id</code> and all such fields are excluded * from serialization and deserialization by Gson. */ public class GeneratedIdExclusionStrategy implements ExclusionStrategy {
From source file nl.binaryimpact.showcase.json.GsonIgnoreExclusionStrategy.java
/** * Allows fields or classes annotated with {@link nl.binaryimpact.showcase.util.annotation.GsonIgnore} to be excluded * from serialization and deserialization by Gson. */ public class GsonIgnoreExclusionStrategy implements ExclusionStrategy { @Override
From source file org.apache.fineract.infrastructure.core.api.ParameterListExclusionStrategy.java
public class ParameterListExclusionStrategy implements ExclusionStrategy { private final Set<String> parameterNamesToSkip; public ParameterListExclusionStrategy(final Set<String> parameterNamesToSkip) { this.parameterNamesToSkip = parameterNamesToSkip;
From source file org.apache.fineract.infrastructure.core.api.ParameterListInclusionStrategy.java
public class ParameterListInclusionStrategy implements ExclusionStrategy { private final Set<String> parameterNamesToInclude; public ParameterListInclusionStrategy(final Set<String> parameterNamesToSkip) { this.parameterNamesToInclude = parameterNamesToSkip;
From source file org.apache.zeppelin.server.JsonExclusionStrategy.java
public class JsonExclusionStrategy implements ExclusionStrategy { public boolean shouldSkipClass(Class<?> arg0) { return false; } public boolean shouldSkipField(FieldAttributes f) {
From source file org.artemis.toolkit.common.ignorestrategy.java
/**
* ignorestrategy which class and fields should be ignored when doing serialize and deserialize
* ignorestrategy.java is written at Jun 15, 2014
* @author return_jun
* @since 0.2
*/