List of usage examples for com.google.gson Gson excluder
Excluder excluder
To view the source code for com.google.gson Gson excluder.
Click Source Link
From source file:org.lastaflute.core.json.engine.GsonJsonEngine.java
License:Apache License
protected LaReflectiveTypeAdapterFactory createReflectiveTypeAdapterFactory(Gson newGson, Object factory) { final ConstructorConstructor constructorConstructor = getConstructorConstructor(factory); final JsonAdapterAnnotationTypeAdapterFactory jsonAdapterFactory = getJsonAdapterFactory(factory); final FieldNamingStrategy fieldNamingStrategy = newGson.fieldNamingStrategy(); final Excluder excluder = newGson.excluder(); return new LaReflectiveTypeAdapterFactory(constructorConstructor, fieldNamingStrategy, excluder, jsonAdapterFactory);/*from www.j a v a 2 s . co m*/ }