Gson function ( ) { if ( gson == null ) { gson = new GsonBuilder ( ) . registerTypeAdapter ( CMAField . class , new FieldTypeAdapter ( ) ) . registerTypeAdapter ( CMAEntry . class , new EntrySerializer ( ) ) . create ( ) ; } return gson ; }
creates and returns a custom gson instance . concode_field_sep ModuleSpaces modSpaces concode_elem_sep ModuleAppearances modAppearances concode_elem_sep PropertiesReader propertiesReader concode_elem_sep String accessToken concode_elem_sep ModuleContentTypes modContentTypes concode_elem_sep Client.Provider clientProvider concode_elem_sep ModuleAssets modAssets concode_elem_sep ModuleEntries modEntries concode_elem_sep String endpoint concode_elem_sep RestAdapter.LogLevel logLevel concode_elem_sep Executor callbackExecutor concode_elem_sep String sUserAgent concode_elem_sep Gson gson concode_field_sep RequestInterceptor createInterceptor concode_elem_sep void setLogLevel concode_elem_sep Builder setLogLevel concode_elem_sep Builder setAccessToken concode_elem_sep void setEndpoint concode_elem_sep Builder setEndpoint concode_elem_sep ModuleAppearances appearances concode_elem_sep void setClient concode_elem_sep Builder setClient concode_elem_sep ModuleEntries entries concode_elem_sep ModuleAssets assets concode_elem_sep CMAClient build concode_elem_sep ModuleSpaces spaces concode_elem_sep void setCallbackExecutor concode_elem_sep Builder setCallbackExecutor concode_elem_sep String getUserAgent concode_elem_sep ModuleContentTypes contentTypes concode_elem_sep Builder setClientProvider