List of usage examples for com.google.gson Gson fieldNamingStrategy
FieldNamingStrategy fieldNamingStrategy
To view the source code for com.google.gson Gson fieldNamingStrategy.
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 ww w .j a v a2 s . co m*/ }